aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/settings.cpp2
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++) {