summaryrefslogtreecommitdiffstats
path: root/doc/html/desktop-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/desktop-example.html')
-rw-r--r--doc/html/desktop-example.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/desktop-example.html b/doc/html/desktop-example.html
index 491aaee96..32beabee8 100644
--- a/doc/html/desktop-example.html
+++ b/doc/html/desktop-example.html
@@ -351,10 +351,10 @@ int main( int argc, char **argv )
<a name="x1724"></a> app.<a href="tqapplication.html#setFont">setFont</a>( f );
}
- bool validOptions = FALSE;
+ bool validOptions = false;
if ( argc == 2 ) {
- validOptions = TRUE;
+ validOptions = true;
if ( strcmp(argv[1],"-poly") == 0 )
poly();
else if ( strcmp(argv[1],"-rotate") == 0 )
@@ -364,16 +364,16 @@ int main( int argc, char **argv )
else if ( strcmp(argv[1],"-trollwidget") == 0 )
desktopWidget();
else
- validOptions = FALSE;
+ validOptions = false;
}
if ( argc == 3 ) {
- validOptions = TRUE;
+ validOptions = true;
if ( strcmp(argv[1],"-shadetext") == 0 )
desktopText( argv[2] );
else if ( strcmp(argv[1],"-shadewidget") == 0 )
desktopWidget( argv[2] );
else
- validOptions = FALSE;
+ validOptions = false;
}
if ( !validOptions ) {
fprintf( stderr, "Usage:\n\tdesktop -poly"