mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
COMMON: Fix warning
This commit is contained in:
parent
884ee96708
commit
022857a371
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user