summaryrefslogtreecommitdiffstats
path: root/Tests/X11/HelloWorldX11.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/X11/HelloWorldX11.cxx')
-rw-r--r--Tests/X11/HelloWorldX11.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/X11/HelloWorldX11.cxx b/Tests/X11/HelloWorldX11.cxx
index 7b18e20..5bbc19a 100644
--- a/Tests/X11/HelloWorldX11.cxx
+++ b/Tests/X11/HelloWorldX11.cxx
@@ -72,7 +72,7 @@ Main::Main (int argc, char * const argv[]) {
init_x();
// event loop
- while(TRUE) {
+ while(1) {
// get the next event and stuff it into our event variable.
// Note: only events we set the mask for are detected!
XNextEvent(dis, &event);