aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-03 21:06:45 +0000
committerMartin Kiewitz2009-10-03 21:06:45 +0000
commit79b12939a8c03fd25cee8b8b8dcbaf175f5a9e72 (patch)
tree766b044de2c0d940ef5fa8bd3fa6b0ca9371a99e /engines/sci
parentb9cdb1abb76c94723c24ca66eb8d47d96c8c5ebd (diff)
downloadscummvm-rg350-79b12939a8c03fd25cee8b8b8dcbaf175f5a9e72.tar.gz
scummvm-rg350-79b12939a8c03fd25cee8b8b8dcbaf175f5a9e72.tar.bz2
scummvm-rg350-79b12939a8c03fd25cee8b8b8dcbaf175f5a9e72.zip
SCI/newgui: set title on newWindow
svn-id: r44567
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 9ba4ebe37a..9933379eb5 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -106,9 +106,9 @@ reg_t SciGUI::newWindow(Common::Rect rect1, Common::Rect rect2, uint16 style, in
sciWnd *wnd = NULL;
if (rect2.top != 0 && rect2.left != 0 && rect2.height() != 0 && rect2.width() != 0)
- wnd = _windowMgr->NewWindow(&rect1, &rect2, "", style, priority, 0);
+ wnd = _windowMgr->NewWindow(&rect1, &rect2, title, style, priority, 0);
else
- wnd = _windowMgr->NewWindow(&rect1, NULL, "", style, priority, 0);
+ wnd = _windowMgr->NewWindow(&rect1, NULL, title, style, priority, 0);
wnd->penClr = colorPen;
wnd->backClr = colorBack;
_windowMgr->DrawWindow(wnd);