commit 43db235de98d29f6ac6409c6e3910b5af18868c7 from: Markus Uhlin date: Fri Nov 21 18:17:08 2025 UTC Usage of strcmp() commit - ecd937337de61f2123a3272e5eb6e25b96e38bbd commit + 43db235de98d29f6ac6409c6e3910b5af18868c7 blob - 20c1dc2252ebcf0d5e0216e6e5ec26153c8bf873 blob + 9a3e53b88da48b3e074e6c35255abbc6cb453b9b --- FICS/settings.cpp +++ 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++) {