From a9b54b43c0060f6c1777e625209f5801b4a78c4c Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 19 Sep 2011 19:29:58 +0000 Subject: [PATCH] Fixed bug in GUI of VNCclient git-svn-id: svn://kolibrios.org@2213 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/VNCclient/logon.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/programs/network/VNCclient/logon.inc b/programs/network/VNCclient/logon.inc index 92b799e47e..d2c7c9a904 100644 --- a/programs/network/VNCclient/logon.inc +++ b/programs/network/VNCclient/logon.inc @@ -166,7 +166,7 @@ popa ret close_logon: - or eax,-1 + or eax,-1 mcall connect_logon: @@ -181,7 +181,7 @@ draw_window_logon: mov ebx, 160*65536+330 ; [x start] *65536 + [x size] mov ecx, 160*65536+100 ; [y start] *65536 + [y size] mov edx, 0x13DDDDDD ; color of work area RRGGBB - mov edi, title ; WINDOW LABEL + mov edi, title ; WINDOW LABEL mcall mov eax, 8 ; LOGON BUTTON @@ -194,10 +194,10 @@ draw_window_logon: call print_text_logon - cmp byte[mode],0 + cmp byte[mode], 0 je servermode_ - mov eax, 4 ; function 4 _logon: write text to window + mov eax, 4 ; function 4 write text to window mov ebx, 25*65536+33 ; [x start] *65536 + [y start] xor ecx, ecx mov edx, userstr ; pointer to text beginning @@ -213,6 +213,7 @@ draw_window_logon: servermode_: + mov eax, 4 ; function 4 write text to window mov ebx, 25*65536+33 ; [x start] *65536 + [y start] xor ecx, ecx mov edx, serverstr ; pointer to text beginning