aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stacks/aspit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven_stacks/aspit.cpp')
-rw-r--r--engines/mohawk/riven_stacks/aspit.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/mohawk/riven_stacks/aspit.cpp b/engines/mohawk/riven_stacks/aspit.cpp
index ee68587bf7..a94b454257 100644
--- a/engines/mohawk/riven_stacks/aspit.cpp
+++ b/engines/mohawk/riven_stacks/aspit.cpp
@@ -98,14 +98,17 @@ void ASpit::xastartupbtnhide(const ArgumentArray &args) {
const char *fontname;
const Graphics::Font *font = nullptr;
- if (_vm->getLanguage() != Common::JA_JPN)
+ int fontHeight;
+ if (_vm->getLanguage() != Common::JA_JPN) {
fontname = "FreeSans.ttf";
- else
+ fontHeight = 12;
+ } else {
fontname = "mplus-2c-regular.ttf";
+ fontHeight = 11;
+ }
#if defined(USE_FREETYPE2)
- int fontHeight = 11;
if (file.open(fontname)) {
font = Graphics::loadTTFFont(file, fontHeight);
}