SCI: kDrawControl now also fixes bad rects (fixes jones/vga)

svn-id: r45064
This commit is contained in:
Martin Kiewitz 2009-10-14 10:11:03 +00:00
parent ec25df8e23
commit caaac0130a

View File

@ -674,7 +674,8 @@ void _k_GenericDrawControl(EngineState *s, reg_t controlObject, bool hilite) {
const char **listEntries = NULL; const char **listEntries = NULL;
bool isAlias = false; bool isAlias = false;
rect = Common::Rect (x, y, (int16)GET_SEL32V(controlObject, nsRight), (int16)GET_SEL32V(controlObject, nsBottom)); kGraphCreateRect(x, y, GET_SEL32V(controlObject, nsRight), GET_SEL32V(controlObject, nsBottom), &rect);
if (!textReference.isNull()) if (!textReference.isNull())
text = segMan->getString(textReference); text = segMan->getString(textReference);