diff options
author | Eugene Sandulenko | 2019-12-01 21:54:05 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-01 21:54:05 +0100 |
commit | 64eb072103dcb4789858470ac9d40d4c6f3b8841 (patch) | |
tree | d42ff2a255b08ed8a3bd3fbd62b7338c4d1ebb10 /graphics/macgui | |
parent | ab9c2631f04559f693f6da53e73dcfcf5f72a8c2 (diff) | |
download | scummvm-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.h | 2 |
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; |