From 79b12939a8c03fd25cee8b8b8dcbaf175f5a9e72 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 3 Oct 2009 21:06:45 +0000 Subject: SCI/newgui: set title on newWindow svn-id: r44567 --- engines/sci/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci') 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); -- cgit v1.2.3