Rev 1796 | Rev 9451 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1796 | Rev 6160 | ||
---|---|---|---|
Line 350... | Line 350... | ||
350 | dec eax |
350 | dec eax |
351 | dec eax |
351 | dec eax |
352 | jnz exit ; If not key then Alt+F4 |
352 | jnz exit ; If not key then Alt+F4 |
353 | ; key pressed, read it and ignore |
353 | ; key pressed, read it and ignore |
354 | mcall 2 |
354 | mcall 2 |
355 | cmp eax, 0x1B00 ;Test for Escape key press |
355 | cmp ah, 27 ; Test Esc key press in ASCII |
356 | jnz wait_event |
356 | jne wait_event |
Line 357... | Line 357... | ||
357 | 357 | ||
358 | ; button pressed; we have only one button, close |
358 | ; button pressed; we have only one button, close |
359 | ; also seems to handle Alt+F4 |
359 | ; also seems to handle Alt+F4 |
360 | exit: |
360 | exit: |