aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/ginput/keyboard/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/ginput/keyboard/main.c')
-rw-r--r--demos/modules/ginput/keyboard/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/ginput/keyboard/main.c b/demos/modules/ginput/keyboard/main.c
index e521207f..12aa6585 100644
--- a/demos/modules/ginput/keyboard/main.c
+++ b/demos/modules/ginput/keyboard/main.c
@@ -70,7 +70,7 @@ int main(void) {
while(1) {
// Get an Event
- pk = (GEventKeyboard *)geventEventWait(&gl, TIME_INFINITE);
+ pk = (GEventKeyboard *)geventEventWait(&gl, gDelayForever);
if (pk->type != GEVENT_KEYBOARD)
continue;