diff options
author | Eugene Sandulenko | 2016-08-03 23:39:10 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:39:10 +0200 |
commit | 0cccd0ddd1d53b7d16e47a5b2d8ca62c87d992f4 (patch) | |
tree | c9c0be62f06ba7b5f7bebc69722a250a69e2203f /engines/wage/gui-console.cpp | |
parent | 7c12e80552af036d8029b6fc197403e25a879e66 (diff) | |
download | scummvm-rg350-0cccd0ddd1d53b7d16e47a5b2d8ca62c87d992f4.tar.gz scummvm-rg350-0cccd0ddd1d53b7d16e47a5b2d8ca62c87d992f4.tar.bz2 scummvm-rg350-0cccd0ddd1d53b7d16e47a5b2d8ca62c87d992f4.zip |
GRAPHICS/WAGE: Made MacWindowManager font maping requiring font size
Diffstat (limited to 'engines/wage/gui-console.cpp')
-rw-r--r-- | engines/wage/gui-console.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp index 1cf98ab991..2b364d3657 100644 --- a/engines/wage/gui-console.cpp +++ b/engines/wage/gui-console.cpp @@ -63,12 +63,9 @@ namespace Wage { const Graphics::Font *Gui::getConsoleFont() { - char fontName[128]; Scene *scene = _engine->_world->_player->_currentScene; - snprintf(fontName, 128, "%s-%d", scene->getFontName(), scene->_fontSize); - - return _wm.getFont(fontName, Graphics::FontManager::kConsoleFont); + return _wm.getFont(scene->getFontName(), Graphics::FontManager::kConsoleFont); } void Gui::clearOutput() { |