aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-01 21:54:05 +0100
committerEugene Sandulenko2019-12-01 21:54:05 +0100
commit64eb072103dcb4789858470ac9d40d4c6f3b8841 (patch)
treed42ff2a255b08ed8a3bd3fbd62b7338c4d1ebb10 /graphics/macgui
parentab9c2631f04559f693f6da53e73dcfcf5f72a8c2 (diff)
downloadscummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.tar.gz
scummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.tar.bz2
scummvm-rg350-64eb072103dcb4789858470ac9d40d4c6f3b8841.zip
GRAPHICS: MACGUI: Fix default font size
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macfontmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h
index a8a3e3a77a..b4efdd7ce2 100644
--- a/graphics/macgui/macfontmanager.h
+++ b/graphics/macgui/macfontmanager.h
@@ -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;