[Scummvm-git-logs] scummvm master -> 81c8f0558f8b0872318279c18f6c3354519b0c50
sev-
sev at scummvm.org
Sun Dec 4 16:36:31 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
81c8f0558f FULLPIPE: Fix another warning
Commit: 81c8f0558f8b0872318279c18f6c3354519b0c50
https://github.com/scummvm/scummvm/commit/81c8f0558f8b0872318279c18f6c3354519b0c50
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-04T16:36:13+01:00
Commit Message:
FULLPIPE: Fix another warning
Changed paths:
engines/fullpipe/utils.cpp
diff --git a/engines/fullpipe/utils.cpp b/engines/fullpipe/utils.cpp
index ac6b203..cc85886 100644
--- a/engines/fullpipe/utils.cpp
+++ b/engines/fullpipe/utils.cpp
@@ -533,9 +533,9 @@ byte *transCyrillic(byte *s) {
#ifdef WIN32
// translate from cp1251 to cp866
byte c = *p;
- if (c >= 0xC0)
+ if (c >= 0xC0 && c <= 0xEF)
c = c - 0xC0 + 0x80;
- else if (c >= 0xF0 && c <= 0xFF)
+ else if (c >= 0xF0)
c = c - 0xF0 + 0xE0;
else if (c == 0xA8)
c = 0xF0;
More information about the Scummvm-git-logs
mailing list