From 1d49834274b14ba4c928bc40dcfab51a59f34308 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sun, 27 Apr 2014 21:04:27 +0000 Subject: [PATCH] mtdbg: fix garbage git-svn-id: svn://kolibrios.org@4907 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/mtdbg/gui.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/develop/mtdbg/gui.inc b/programs/develop/mtdbg/gui.inc index ea20b1cc95..d14fecd81c 100644 --- a/programs/develop/mtdbg/gui.inc +++ b/programs/develop/mtdbg/gui.inc @@ -665,6 +665,8 @@ draw_register: mov ebp, ecx + mov eax, [esi] + mov ecx, (COLOR_TXT_INACTIVE or 0x40000000) cmp [debuggee_pid], 0 jz .cd @@ -672,7 +674,6 @@ draw_register: jz .cd mov ecx, (COLOR_TXT_NORMAL or 0x40000000) - mov eax, [esi] cmp eax, dword [esi+oldcontext-context] je .cd mov ecx, (COLOR_TXT_CHANGED or 0x40000000)