From 5806de098458b46450a03dae6f3787d3bece7f40 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 11 Sep 2018 21:12:25 +0000 Subject: [PATCH] cpu: delete terminate process button before create a new one git-svn-id: svn://kolibrios.org@7354 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/cpu/trunk/cpu.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/system/cpu/trunk/cpu.asm b/programs/system/cpu/trunk/cpu.asm index 25d336ca4b..d22f9285a2 100644 --- a/programs/system/cpu/trunk/cpu.asm +++ b/programs/system/cpu/trunk/cpu.asm @@ -273,6 +273,9 @@ draw_next_process: jz @f mov esi,0xaabbcc @@: + add edx,0x80000000 ; delete a button + mcall 8 ; before create + sub edx,0x80000000 ; a new one below mcall 8,<10,99> mov [btn_bacground_color],esi ;draw background for proccess information