diff --git a/libs/util/info.c b/libs/util/info.c index 6b7d4c691..34963947d 100644 --- a/libs/util/info.c +++ b/libs/util/info.c @@ -304,7 +304,7 @@ Info_Validate (char *s) return false; for (p = s, count = 0; *p != '\0'; p++) - if (!*p == '\\') + if (*p == '\\') count++; return (!(count % 2));