summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameinfo.c b/src/gameinfo.c
index a3f4eac..877ca2a 100644
--- a/src/gameinfo.c
+++ b/src/gameinfo.c
@@ -99,7 +99,7 @@ bool gameinfo_init() {
int casebit = 0;
for (char *p = title; *p; ++p) {
if (*p >= 'A' && *p <= 'Z') *p |= casebit;
- casebit = (*p == ' ' || *p == '-') << 5; // ? 32 : 0
+ casebit = (*p != ' ' && *p != '-') << 5; // ? 32 : 0
}
}
}