aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-10-29 20:53:39 -0700
committerPaul Gilbert2018-12-08 19:05:59 -0800
commite004784d23bf14c8176a1a394c32fbe01c7c488f (patch)
tree4428e2f2452354cc0ede190337bf92174b7d0575 /engines
parent4fc1c30423aa8e161a3ea2edd1f45c4ad681a92a (diff)
downloadscummvm-rg350-e004784d23bf14c8176a1a394c32fbe01c7c488f.tar.gz
scummvm-rg350-e004784d23bf14c8176a1a394c32fbe01c7c488f.tar.bz2
scummvm-rg350-e004784d23bf14c8176a1a394c32fbe01c7c488f.zip
GLK: Fix calculation of text grid height
Diffstat (limited to 'engines')
-rw-r--r--engines/gargoyle/window_text_grid.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gargoyle/window_text_grid.cpp b/engines/gargoyle/window_text_grid.cpp
index 6d1aff4946..6945aca751 100644
--- a/engines/gargoyle/window_text_grid.cpp
+++ b/engines/gargoyle/window_text_grid.cpp
@@ -80,8 +80,7 @@ void TextGridWindow::touch(int line) {
}
glui32 TextGridWindow::getSplit(glui32 size, bool vertical) const {
- return vertical ? size * g_conf->_cellW + g_conf->_tMarginX * 2 :
- size * g_conf->_cellH + g_conf->_tMarginY * 2;
+ return vertical ? size * g_conf->_cellW : size * g_conf->_cellH;
}
void TextGridWindow::putCharUni(uint32 ch) {