From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/desktop-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/desktop-example.html') 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 ) app.setFont( 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" -- cgit v1.2.3