summaryrefslogtreecommitdiffstats
path: root/Tests/X11/HelloWorldX11.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-11 14:23:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-11 14:23:27 (GMT)
commit94f40300e8ca9d181a15a03725525bc498f8465d (patch)
treea34fba2a4cbd12ecbcf4adb757f15f0888e013f4 /Tests/X11/HelloWorldX11.cxx
parentee867fb1b2a8117baffeb497b99b84b5c8dcb72d (diff)
downloadCMake-94f40300e8ca9d181a15a03725525bc498f8465d.zip
CMake-94f40300e8ca9d181a15a03725525bc498f8465d.tar.gz
CMake-94f40300e8ca9d181a15a03725525bc498f8465d.tar.bz2
ENH: add a simple x11 test for packaging
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);