[Scummvm-cvs-logs] scummvm master -> f75ad49c679c56b00435e2e30dca4f175f4395bd
sylvaintv
sylvaintv at gmail.com
Wed Apr 3 00:26:17 CEST 2013
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:
f75ad49c67 HOPKINS: Fix rendering of French accentuated characters
Commit: f75ad49c679c56b00435e2e30dca4f175f4395bd
https://github.com/scummvm/scummvm/commit/f75ad49c679c56b00435e2e30dca4f175f4395bd
Author: sylvaintv (sylvaintv at gmail.com)
Date: 2013-04-02T15:25:28-07:00
Commit Message:
HOPKINS: Fix rendering of French accentuated characters
Changed paths:
engines/hopkins/font.cpp
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp
index 8bd0454..e25c11d 100644
--- a/engines/hopkins/font.cpp
+++ b/engines/hopkins/font.cpp
@@ -410,7 +410,7 @@ void FontManager::displayTextVesa(int xp, int yp, const Common::String &message,
const char *srcP = message.c_str();
for (;;) {
- char currChar = *srcP++;
+ byte currChar = *srcP++;
if (!currChar)
break;
if (currChar >= 32) {
@@ -428,7 +428,7 @@ void FontManager::displayTextVesa(int xp, int yp, const Common::String &message,
*/
void FontManager::displayText(int xp, int yp, const Common::String &message, int col) {
for (uint idx = 0; idx < message.size(); ++idx) {
- char currentChar = message[idx];
+ byte currentChar = (byte)message[idx];
if (currentChar > 31) {
int characterIndex = currentChar - 32;
More information about the Scummvm-git-logs
mailing list