summaryrefslogtreecommitdiffstats
path: root/src/demos/newt/NEWTTest1.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/newt/NEWTTest1.java')
-rw-r--r--src/demos/newt/NEWTTest1.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/newt/NEWTTest1.java b/src/demos/newt/NEWTTest1.java
index 51a31c7..0cfc190 100644
--- a/src/demos/newt/NEWTTest1.java
+++ b/src/demos/newt/NEWTTest1.java
@@ -100,7 +100,7 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener
while (running)
{
- window.pumpMessages();
+ display.pumpMessages();
window.lockSurface();
try