[Scummvm-git-logs] scummvm master -> 8fde04636001fe1c902187d85302c9db2ecffec0

sev- sev at scummvm.org
Thu Jul 13 22:41:22 CEST 2017


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:
8fde046360 SLUDGE: Make UTF-8 code portable


Commit: 8fde04636001fe1c902187d85302c9db2ecffec0
    https://github.com/scummvm/scummvm/commit/8fde04636001fe1c902187d85302c9db2ecffec0
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-07-13T22:41:03+02:00

Commit Message:
SLUDGE: Make UTF-8 code portable

Changed paths:
    engines/sludge/savedata.cpp


diff --git a/engines/sludge/savedata.cpp b/engines/sludge/savedata.cpp
index 6dd3bca..280d2dc 100644
--- a/engines/sludge/savedata.cpp
+++ b/engines/sludge/savedata.cpp
@@ -31,7 +31,7 @@
 
 namespace Sludge {
 
-const char UTF8_CHECKER[] = {'U', 'N', -17, -65, -67, 'L', 'O', -17, -65, -67, 'C', 'K', 'E', 'D', '\0'};
+const char UTF8_CHECKER[] = {'U', 'N', '\xef', '\xbf', '\xbd', 'L', 'O', '\xef', '\xbf', '\xbd', 'C', 'K', 'E', 'D', '\0'};
 uint16 saveEncoding = false;
 char encode1 = 0;
 char encode2 = 0;





More information about the Scummvm-git-logs mailing list