mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
JANITORIAL: Formatting fixes
This commit is contained in:
parent
373f872dfa
commit
458b2332d5
@ -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);
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user