summary refs log tree commit diff stats
path: root/tests/x11test.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x11test.nim')
-rw-r--r--tests/x11test.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/x11test.nim b/tests/x11test.nim
index 2769b6c74..db51df2e0 100644
--- a/tests/x11test.nim
+++ b/tests/x11test.nim
@@ -61,9 +61,9 @@ proc eventloop =
   discard XFlush(display)
   var num_events = int(XPending(display))
   while num_events != 0:
-     dec(num_events)
-     discard XNextEvent(display, addr(xev))
-     process_event()
+    dec(num_events)
+    discard XNextEvent(display, addr(xev))
+    process_event()
 
 create_window()
 while true: