diff options
author | Martin Kiewitz | 2010-07-14 21:00:59 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-14 21:00:59 +0000 |
commit | 40ed004b18731c873524b4f3d7d6d6551ca00769 (patch) | |
tree | 2f89bdb540883a4ed390ea7d49169799fbdcccf9 /engines/sci/graphics | |
parent | a694c5ddcf213cea56b0ed81334083edaa129f02 (diff) | |
download | scummvm-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.cpp | 2 |
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 |