fix SetEvent assert

SetEvent returns nonzero on success, so the assert was backwards.
This commit is contained in:
Joel Dice 2011-02-14 18:57:47 -07:00
parent 6e19f4dcca
commit 6461e0a1af

View File

@ -96,7 +96,7 @@ class MySystem: public System {
if (flags & Waiting) { if (flags & Waiting) {
int r UNUSED = SetEvent(event); int r UNUSED = SetEvent(event);
assert(s, r == 0); assert(s, r != 0);
} }
} }