mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
fix(event): place new handler in correct position in handler list
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -63,5 +63,5 @@ void IEvtQueueRegister(EvtContext* context, EVENTID id, int32_t (*handler)(const
|
|||||||
h = handlerList->Link(h)->Next();
|
h = handlerList->Link(h)->Next();
|
||||||
}
|
}
|
||||||
|
|
||||||
handlerList->LinkNode(evtHandler, 1, h);
|
handlerList->LinkNode(evtHandler, 2, h);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user