[Scummvm-git-logs] scummvm master -> 3d19a27d04483e0c4de1c32e301ac49485793f53

dreammaster paulfgilbert at gmail.com
Tue Jan 1 03:59:13 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3d19a27d04 GLK: FROTZ: Fix rendering of Beyond Zork minimap


Commit: 3d19a27d04483e0c4de1c32e301ac49485793f53
    https://github.com/scummvm/scummvm/commit/3d19a27d04483e0c4de1c32e301ac49485793f53
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-12-31T18:58:46-08:00

Commit Message:
GLK: FROTZ: Fix rendering of Beyond Zork minimap

Changed paths:
    engines/glk/screen.cpp


diff --git a/engines/glk/screen.cpp b/engines/glk/screen.cpp
index 048b92f..a4fcc63 100644
--- a/engines/glk/screen.cpp
+++ b/engines/glk/screen.cpp
@@ -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));





More information about the Scummvm-git-logs mailing list