mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 17:29:11 +00:00
GRAPHICS: MACGUI: Fix default font size
This commit is contained in:
parent
ab9c2631f0
commit
64eb072103
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user