From 31d251688745fccce53c039b696bef218db5b7e3 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Thu, 15 Feb 2024 21:37:03 -0800 Subject: [PATCH] Fixed some lingering FALSE->false conversions --- src/sbbs3/str_util.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sbbs3/str_util.c b/src/sbbs3/str_util.c index 3020d98dbd..b2bf52987d 100644 --- a/src/sbbs3/str_util.c +++ b/src/sbbs3/str_util.c @@ -438,7 +438,7 @@ uint hptoi(const char *str) } /****************************************************************************/ -/* Returns true if a is a valid ctrl-a "attribute" code, FALSE if it isn't. */ +/* Returns true if a is a valid ctrl-a "attribute" code, false if it isn't. */ /****************************************************************************/ bool valid_ctrl_a_attr(char a) { @@ -468,11 +468,11 @@ bool valid_ctrl_a_attr(char a) case '7': /* white bg */ return(true); } - return(FALSE); + return(false); } /****************************************************************************/ -/* Returns true if a is a valid QWKnet compatible Ctrl-A code, else FALSE */ +/* Returns true if a is a valid QWKnet compatible Ctrl-A code, else false */ /****************************************************************************/ bool valid_ctrl_a_code(char a) { @@ -549,7 +549,7 @@ bool str_is_ascii(const char* str) { for(const char* p = str; *p != 0; p++) { if(*p < 0) - return FALSE; + return false; } return true; } @@ -560,7 +560,7 @@ bool str_has_ctrl(const char* str) if((uchar)*p < ' ') return true; } - return FALSE; + return false; } /****************************************************************************/ -- GitLab