sdlterm/demo.cc
changeset 57 911927edbdde
parent 52 50a1857557da
--- a/sdlterm/demo.cc	Mon Jan 07 23:15:17 2013 +0100
+++ b/sdlterm/demo.cc	Tue Jan 08 01:12:07 2013 +0100
@@ -39,7 +39,7 @@
 void Application::wait_and_process_event()
 {
     Event event;
-    term.get_next_event(event);
+    term.wait_event(event, 0);
 
     switch (event.type)
     {