[Scummvm-cvs-logs] SF.net SVN: scummvm:[50894] scummvm/trunk/engines/sci/graphics/controls.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Jul 14 23:00:59 CEST 2010
Revision: 50894
http://scummvm.svn.sourceforge.net/scummvm/?rev=50894&view=rev
Author: m_kiewitz
Date: 2010-07-14 21:00:59 +0000 (Wed, 14 Jul 2010)
Log Message:
-----------
SCI: removing hardcoded size when drawing list controls - fixes load/save dialog in lsl6
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/controls.cpp
Modified: scummvm/trunk/engines/sci/graphics/controls.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/controls.cpp 2010-07-14 19:44:51 UTC (rev 50893)
+++ scummvm/trunk/engines/sci/graphics/controls.cpp 2010-07-14 21:00:59 UTC (rev 50894)
@@ -89,7 +89,7 @@
_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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list