summaryrefslogtreecommitdiffstats
path: root/examples/opengl/gear/gear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/gear/gear.cpp')
-rw-r--r--examples/opengl/gear/gear.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/gear/gear.cpp b/examples/opengl/gear/gear.cpp
index 96152eedd..a895e6465 100644
--- a/examples/opengl/gear/gear.cpp
+++ b/examples/opengl/gear/gear.cpp
@@ -283,7 +283,7 @@ int main( int argc, char **argv )
}
if ( argc >= 2 ) {
- bool ok = TRUE;
+ bool ok = true;
timer_interval = TQString::fromLatin1( argv[1] ).toInt( &ok );
if ( !ok )
timer_interval = 10;