Don't clobber ax in viewer event_click
This commit is contained in:
parent
5ffe87e467
commit
f3a1e6ca5f
|
@ -452,9 +452,8 @@ event_mouse:
|
|||
; bx = Y
|
||||
; cx = X
|
||||
; dl = mouse buttons
|
||||
; out:
|
||||
; clobbers ax
|
||||
event_click:
|
||||
push ax
|
||||
; This is not a true event passed into our event handler, but
|
||||
; rather one we've synthetized from the mouse event
|
||||
; The reason we synthetize this event is because most interface
|
||||
|
@ -506,6 +505,7 @@ event_click:
|
|||
.not_title_bar:
|
||||
|
||||
.end:
|
||||
pop ax
|
||||
ret
|
||||
|
||||
; in:
|
||||
|
|
Loading…
Reference in New Issue