Better fix

This commit is contained in:
pagefault
2004-05-07 02:39:56 +00:00
parent 8b24831bdc
commit 414b50bad7

View File

@@ -1467,8 +1467,6 @@ SECTION .text
GUIPathKeys: GUIPathKeys:
cmp dh,0 cmp dh,0
je .nokeypressed je .nokeypressed
cmp dh,13
je .nokeypressed
cmp dword[GUIInputBox],1 cmp dword[GUIInputBox],1
jne .notBox1 jne .notBox1
mov eax,SRAMPath mov eax,SRAMPath
@@ -1547,7 +1545,6 @@ GUIPathKeys:
cmp dh,13 ;Enter cmp dh,13 ;Enter
jne .notenter jne .notenter
mov dword[GUIInputBox],0
ret ret
.notenter .notenter