diff --git a/engines/sci/graphics/cache.cpp b/engines/sci/graphics/cache.cpp index 28129abadce..05d7f2d6e8f 100644 --- a/engines/sci/graphics/cache.cpp +++ b/engines/sci/graphics/cache.cpp @@ -71,7 +71,7 @@ GfxFont *GfxCache::getFont(GuiResourceId fontId) { if ((fontId == 1001) && (g_sci->getLanguage() == Common::KO_KOR)) _cachedFonts[fontId] = new GfxFontKorean(_screen, fontId); // Create special SJIS font in japanese games, when font 900 is selected - else if((fontId == 900) && (g_sci->getLanguage() == Common::JA_JPN)) + else if ((fontId == 900) && (g_sci->getLanguage() == Common::JA_JPN)) _cachedFonts[fontId] = new GfxFontSjis(_screen, fontId); else _cachedFonts[fontId] = new GfxFontFromResource(_resMan, _screen, fontId); diff --git a/graphics/korfont.cpp b/graphics/korfont.cpp index 055b3bce9ab..786dd5fd255 100644 --- a/graphics/korfont.cpp +++ b/graphics/korfont.cpp @@ -27,8 +27,7 @@ namespace Graphics { -bool checkKorCode(byte hi, byte lo) -{ +bool checkKorCode(byte hi, byte lo) { // hi: xx // lo: yy if ((0xA1 > lo) || (0xFE < lo)) { @@ -200,7 +199,7 @@ uint16 ConvertKSToUCS2(uint16 code) { return _ksToUcs2Table[index]; } -FontKorean *FontKorean::createFont(const char * fontFile) { +FontKorean *FontKorean::createFont(const char *fontFile) { FontKorean *ret = 0; // Try ScummVM's font.