From 36a222c11c0fa30b1cfbaf77c09ad913e69fb67c Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 25 Feb 2014 19:24:30 +0000 Subject: [PATCH] MTDBG: Fixed window caption, broken in previous revision. git-svn-id: svn://kolibrios.org@4594 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/mtdbg/gui.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/programs/develop/mtdbg/gui.inc b/programs/develop/mtdbg/gui.inc index 3654c0c8fd..79a4dc0206 100644 --- a/programs/develop/mtdbg/gui.inc +++ b/programs/develop/mtdbg/gui.inc @@ -170,12 +170,12 @@ keypressed: cmp al, 0xB1 jz .down cmp al, 0xB2 - jz .up - cmp ah, 0x41 - jz F7 - cmp ah, 0x42 - jz F8 - cmp [cmdline_len], cmdline_width + jz .up + cmp ah, 0x41 + jz F7 + cmp ah, 0x42 + jz F8 + cmp [cmdline_len], cmdline_width jae waitevent push eax call clear_cmdline_end @@ -1527,7 +1527,7 @@ draw_window: mcall 12, 1 ; define window - mcall 0, wnd_x_size, wnd_y_size, (COLOR_BG_NORMAL or 0x54000000), caption_str + mcall 0, wnd_x_size, wnd_y_size, (COLOR_BG_NORMAL or 0x54000000), , caption_str ; clear unused areas ; get window skin height