diff options
Diffstat (limited to 'FICS/settings.cpp')
| -rw-r--r-- | FICS/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/settings.cpp b/FICS/settings.cpp index 20c1dc2..9a3e53b 100644 --- a/FICS/settings.cpp +++ b/FICS/settings.cpp @@ -158,7 +158,7 @@ check_some_settings_strictly(void) bool is_numeric(const char *string) { - if (string == nullptr || *string == '\0') + if (string == nullptr || strcmp(string, "") == 0) return false; for (const char *cp = &string[0]; *cp != '\0'; cp++) { |
