diff --git a/Quake/common.c b/Quake/common.c index 702eb2c9..c604a0a7 100644 --- a/Quake/common.c +++ b/Quake/common.c @@ -2607,7 +2607,7 @@ fail: mz_zip_reader_end(&archive); cursor = localization.text; // skip BOM - if ((unsigned char)(cursor[0]) == 0xEF && (unsigned char)(cursor[1]) == 0xBB && cursor[2] == 0xB) + if ((unsigned char)(cursor[0]) == 0xEF && (unsigned char)(cursor[1]) == 0xBB && (unsigned char)(cursor[2]) == 0xBF) cursor += 3; lineno = 0;