diff options
-rw-r--r-- | common/translation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/translation.cpp b/common/translation.cpp index 3570e8c5ae..e0386a29ef 100644 --- a/common/translation.cpp +++ b/common/translation.cpp @@ -390,7 +390,7 @@ bool TranslationManager::checkHeader(File &in) { buf[12] = '\0'; // Check header - if (strcmp(buf, "TRANSLATIONS")) { + if (strcmp(buf, "TRANSLATIONS") != 0) { warning("File '%s' is not a valid translations data file. Skipping this file", in.getName()); return false; } |