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 f2595d5be..322a6f086 100644
--- a/doc/html/desktop-example.html
+++ b/doc/html/desktop-example.html
@@ -352,10 +352,10 @@ int main( int argc, char **argv )
<a name="x1724"></a> app.<a href="ntqapplication.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 )
@@ -365,16 +365,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"