mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 02:16:35 +01:00
Fixed clang error, disabling the execute module.
This commit is contained in:
@@ -70,8 +70,8 @@ void print_time(WINDOW *window)
|
||||
wattroff(window,COLOR_PAIR(BLUE));
|
||||
}
|
||||
|
||||
/* Returns true if the string is empty, false otherwise */
|
||||
bool string_is_empty(char *string)
|
||||
/* Returns 1 if the string is empty, 0 otherwise */
|
||||
int string_is_empty(char *string)
|
||||
{
|
||||
return string[0] == '\0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user