aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2011-11-02 22:08:56 +0000
committerEugene Sandulenko2011-11-02 22:09:17 +0000
commit022857a3711cef9b3ae60a88c436c212792918f0 (patch)
treece2bdb37b22675fdcf05a06e66c08fd9a7e8dc98 /common
parent884ee967083fba37acf49f11be1f6885accaba42 (diff)
downloadscummvm-rg350-022857a3711cef9b3ae60a88c436c212792918f0.tar.gz
scummvm-rg350-022857a3711cef9b3ae60a88c436c212792918f0.tar.bz2
scummvm-rg350-022857a3711cef9b3ae60a88c436c212792918f0.zip
COMMON: Fix warning
Diffstat (limited to 'common')
-rw-r--r--common/translation.cpp2
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;
}