oops: fix in RemoveEventTo
git-svn-id: svn://kolibrios.org@1059 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -100,6 +100,8 @@ RemoveEventTo: ;; INTERNAL use !!! don't use
|
||||
;scratched: ebx,ecx
|
||||
mov ecx,eax ; ecx=eax=Self, ebx=NewLeft
|
||||
xchg ecx,[ebx+EVENT.fd] ; NewLeft.fd=Self, ecx=NewRight
|
||||
cmp eax,ecx ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...
|
||||
je .break ; - <EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>?
|
||||
mov [ecx+EVENT.bk],eax ; NewRight.bk=Self
|
||||
xchg ebx,[eax+EVENT.bk] ; Self.bk=NewLeft, ebx=OldLeft
|
||||
xchg ecx,[eax+EVENT.fd] ; Self.fd=NewRight, ecx=OldRight
|
||||
|
Reference in New Issue
Block a user