aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {