mtdbg: fix garbage

git-svn-id: svn://kolibrios.org@4907 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2014-04-27 21:04:27 +00:00
parent cab8cf62a6
commit 1d49834274

View File

@ -665,6 +665,8 @@ draw_register:
mov ebp, ecx mov ebp, ecx
mov eax, [esi]
mov ecx, (COLOR_TXT_INACTIVE or 0x40000000) mov ecx, (COLOR_TXT_INACTIVE or 0x40000000)
cmp [debuggee_pid], 0 cmp [debuggee_pid], 0
jz .cd jz .cd
@ -672,7 +674,6 @@ draw_register:
jz .cd jz .cd
mov ecx, (COLOR_TXT_NORMAL or 0x40000000) mov ecx, (COLOR_TXT_NORMAL or 0x40000000)
mov eax, [esi]
cmp eax, dword [esi+oldcontext-context] cmp eax, dword [esi+oldcontext-context]
je .cd je .cd
mov ecx, (COLOR_TXT_CHANGED or 0x40000000) mov ecx, (COLOR_TXT_CHANGED or 0x40000000)