GRAPHICS: MACGUI: Fix default font size

This commit is contained in:
Eugene Sandulenko 2019-12-01 21:54:05 +01:00
parent ab9c2631f0
commit 64eb072103
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ CachedMacText::CachedMacText(TextCast *const textCast,
:
_surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true),
_textCast(textCast), _wm(wm) {
if (_width == -1) {
if (version >= 4) {
// This came from frame.cpp

View File

@ -70,7 +70,7 @@ class MacFont {
public:
MacFont(int id = kMacFontChicago, int size = 12, int slant = kMacFontRegular, FontManager::FontUsage fallback = Graphics::FontManager::kBigGUIFont) {
_id = id;
_size = size;
_size = size ? size : 12;
_slant = slant;
_fallback = fallback;
_generated = false;