Skip to content
Snippets Groups Projects
Commit 31d25168 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fixed some lingering FALSE->false conversions

parent 25c9d13b
No related branches found
No related tags found
No related merge requests found
...@@ -438,7 +438,7 @@ uint hptoi(const char *str) ...@@ -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) bool valid_ctrl_a_attr(char a)
{ {
...@@ -468,11 +468,11 @@ bool valid_ctrl_a_attr(char a) ...@@ -468,11 +468,11 @@ bool valid_ctrl_a_attr(char a)
case '7': /* white bg */ case '7': /* white bg */
return(true); 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) bool valid_ctrl_a_code(char a)
{ {
...@@ -549,7 +549,7 @@ bool str_is_ascii(const char* str) ...@@ -549,7 +549,7 @@ bool str_is_ascii(const char* str)
{ {
for(const char* p = str; *p != 0; p++) { for(const char* p = str; *p != 0; p++) {
if(*p < 0) if(*p < 0)
return FALSE; return false;
} }
return true; return true;
} }
...@@ -560,7 +560,7 @@ bool str_has_ctrl(const char* str) ...@@ -560,7 +560,7 @@ bool str_has_ctrl(const char* str)
if((uchar)*p < ' ') if((uchar)*p < ' ')
return true; return true;
} }
return FALSE; return false;
} }
/****************************************************************************/ /****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment