Fixed a compilation problem with the dos version

This commit is contained in:
teuf
2001-05-07 19:06:58 +00:00
parent 4c5319903a
commit c6e6abd376

View File

@@ -302,7 +302,9 @@ ProcessMouseButtons:
; cmp byte[OSPort],3
; jne .noclick
%ifndef __MSDOS__
%ifdef __MSDOS__
jmp .noclick
%else
mov byte[GUIpclicked],1
mov byte[GUIHold],255
mov eax,[GUImouseposy]
@@ -311,13 +313,13 @@ ProcessMouseButtons:
mov [GUIHoldXlimL],eax
call MouseWindow
jmp .noclick
%endif
.nomenu
cmp byte[GUIcmenupos],0
je near .checkmenuboxclick
mov al,[GUIcmenupos]
mov [GUIpmenupos],al
mov byte[GUIcmenupos],0
%endif
.noclick
mov byte[GUIpclicked],1
xor eax,eax