Skip to content

Commit

Permalink
GLK: FROTZ: Fix rendering of Beyond Zork minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 1, 2019
1 parent 1021da1 commit 3d19a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/glk/screen.cpp
Expand Up @@ -50,7 +50,7 @@ void Screen::initialize() {
Common::Rect r1 = f->getBoundingBox('o');
Common::Rect r2 = f->getBoundingBox('y');
double baseLine = (double)r1.bottom;
double leading = (double)r2.bottom + 2;
double leading = (double)((idx == 0) ? r2.bottom : r2.bottom + 2);

i->_leading = static_cast<int>(MAX((double)i->_leading, leading));
i->_baseLine = static_cast<int>(MAX((double)i->_baseLine, baseLine));
Expand Down

0 comments on commit 3d19a27

Please sign in to comment.