aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-14 21:00:59 +0000
committerMartin Kiewitz2010-07-14 21:00:59 +0000
commit40ed004b18731c873524b4f3d7d6d6551ca00769 (patch)
tree2f89bdb540883a4ed390ea7d49169799fbdcccf9 /engines/sci/graphics
parenta694c5ddcf213cea56b0ed81334083edaa129f02 (diff)
downloadscummvm-rg350-40ed004b18731c873524b4f3d7d6d6551ca00769.tar.gz
scummvm-rg350-40ed004b18731c873524b4f3d7d6d6551ca00769.tar.bz2
scummvm-rg350-40ed004b18731c873524b4f3d7d6d6551ca00769.zip
SCI: removing hardcoded size when drawing list controls - fixes load/save dialog in lsl6
svn-id: r50894
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/controls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/controls.cpp b/engines/sci/graphics/controls.cpp
index ff5a91eed4..126b163e38 100644
--- a/engines/sci/graphics/controls.cpp
+++ b/engines/sci/graphics/controls.cpp
@@ -89,7 +89,7 @@ void GfxControls::drawListControl(Common::Rect rect, reg_t obj, int16 maxChars,
_text16->SetFont(fontId);
fontSize = _ports->_curPort->fontHeight;
_ports->penColor(_ports->_curPort->penClr); _ports->backColor(_ports->_curPort->backClr);
- workerRect.bottom = workerRect.top + 9;
+ workerRect.bottom = workerRect.top + fontSize;
lastYpos = rect.bottom - fontSize;
// Write actual text