aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-08-14 07:36:32 +0200
committerStrangerke2013-08-14 07:36:32 +0200
commit1731d25466bb18c6278d642944f55b22236af6e2 (patch)
tree40a33d803565118350be5ee58b269a0bdb54c9b8
parentb830f68bacd18f51f4dd912ce3b54ec47d63f31d (diff)
downloadscummvm-rg350-1731d25466bb18c6278d642944f55b22236af6e2.tar.gz
scummvm-rg350-1731d25466bb18c6278d642944f55b22236af6e2.tar.bz2
scummvm-rg350-1731d25466bb18c6278d642944f55b22236af6e2.zip
DEVTOOLS: Fix error in create_mortdat. Thanks to LordHoto for pointing it out
-rw-r--r--devtools/create_mortdat/create_mortdat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_mortdat/create_mortdat.cpp b/devtools/create_mortdat/create_mortdat.cpp
index 93ca721d95..f12a69bd37 100644
--- a/devtools/create_mortdat/create_mortdat.cpp
+++ b/devtools/create_mortdat/create_mortdat.cpp
@@ -134,8 +134,8 @@ void writeFontBlock() {
mortCom.seek(knownAddr[i]);
mortCom.read(checkBuffer, 7);
- if ((checkBuffer[0] == 0x59) && (checkBuffer[1] == 0x5B) && (checkBuffer[2] == 0x58) ||
- (checkBuffer[3] == 0xC3) && (checkBuffer[4] == 0xE8) && (checkBuffer[5] == 0xD6) ||
+ if ((checkBuffer[0] == 0x59) && (checkBuffer[1] == 0x5B) && (checkBuffer[2] == 0x58) &&
+ (checkBuffer[3] == 0xC3) && (checkBuffer[4] == 0xE8) && (checkBuffer[5] == 0xD6) &&
(checkBuffer[6] == 0x02)) {
break;
}