aboutsummaryrefslogtreecommitdiffstats
path: root/src/gevent
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-06-02 18:57:22 +1000
committerinmarket <andrewh@inmarket.com.au>2013-06-02 18:57:22 +1000
commit1c258a82738e145953fc9cf40c68dcce6db87d92 (patch)
treec151e882619714d696276ce29ef3388dce6e1866 /src/gevent
parentc2a4f9a5d616f5b18a965652d7492aacd377e5e2 (diff)
downloaduGFX-1c258a82738e145953fc9cf40c68dcce6db87d92.tar.gz
uGFX-1c258a82738e145953fc9cf40c68dcce6db87d92.tar.bz2
uGFX-1c258a82738e145953fc9cf40c68dcce6db87d92.zip
GOS updates
Diffstat (limited to 'src/gevent')
-rw-r--r--src/gevent/gevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gevent/gevent.c b/src/gevent/gevent.c
index 676fc8cb..d83fa4d8 100644
--- a/src/gevent/gevent.c
+++ b/src/gevent/gevent.c
@@ -170,7 +170,7 @@ void geventSendEvent(GSourceListener *psl) {
} else {
// Wake up the listener
- if (gfxSemCounter(&psl->pListener->waitqueue) < 0)
+ if (gfxSemCounter(&psl->pListener->waitqueue) <= 0)
gfxSemSignal(&psl->pListener->waitqueue);
gfxMutexExit(&geventMutex);
}