[Scummvm-git-logs] scummvm master -> 458b2332d55fb45b698b7f2aab90bfe2ab135f18
sev-
sev at scummvm.org
Mon Nov 9 18:34:25 UTC 2020
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:
458b2332d5 JANITORIAL: Formatting fixes
Commit: 458b2332d55fb45b698b7f2aab90bfe2ab135f18
https://github.com/scummvm/scummvm/commit/458b2332d55fb45b698b7f2aab90bfe2ab135f18
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-11-09T19:33:57+01:00
Commit Message:
JANITORIAL: Formatting fixes
Changed paths:
engines/sci/graphics/cache.cpp
graphics/korfont.cpp
diff --git a/engines/sci/graphics/cache.cpp b/engines/sci/graphics/cache.cpp
index 28129abadc..05d7f2d6e8 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 055b3bce9a..786dd5fd25 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.
More information about the Scummvm-git-logs
mailing list