diff options
author | Paul Gilbert | 2017-06-18 20:38:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-18 20:38:58 -0400 |
commit | f3c7aa977457b1d1c42f25b19c410e3f6471da03 (patch) | |
tree | 47d98a36341d4dfd359b3b5d3660c06510965e84 /devtools | |
parent | c92e1ec0f4afc3ebc8e021ce9fc2d8e897785791 (diff) | |
download | scummvm-rg350-f3c7aa977457b1d1c42f25b19c410e3f6471da03.tar.gz scummvm-rg350-f3c7aa977457b1d1c42f25b19c410e3f6471da03.tar.bz2 scummvm-rg350-f3c7aa977457b1d1c42f25b19c410e3f6471da03.zip |
DEVTOOLS: Fix incorrect argc checks in create_titanic
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/create_titanic/create_titanic_dat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_titanic/create_titanic_dat.cpp b/devtools/create_titanic/create_titanic_dat.cpp index ccfaf54458..16e235f5fd 100644 --- a/devtools/create_titanic/create_titanic_dat.cpp +++ b/devtools/create_titanic/create_titanic_dat.cpp @@ -1737,7 +1737,7 @@ int main(int argc, char *argv[]) { } resEng.loadFromEXE(argv[1]); - if (argc >= 3) { + if (argc == 4) { resGer.loadFromEXE(argv[2]); } @@ -1764,7 +1764,7 @@ int main(int argc, char *argv[]) { writeHeader(); writeData(); - if (argc >= 3) { + if (argc == 4) { inputFile.open(argv[2]); _version = GERMAN; writeGermanData(); |