From b27a871f870df854a6db0f4530d4596483927bb1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Nov 2003 02:18:16 +0000 Subject: turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045 --- scumm/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/resource.cpp') diff --git a/scumm/resource.cpp b/scumm/resource.cpp index a15585c298..f2ea764c76 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -240,7 +240,7 @@ void ScummEngine::askForDisk(const char *filename, int disknum) { error("Cannot find file: '%s'", filename); } else { sprintf(buf, "Cannot find file: '%s'", filename); - InfoDialog dialog(_newgui, this, (char*)buf); + InfoDialog dialog(this, (char*)buf); runDialog(dialog); error("Cannot find file: '%s'", filename); } -- cgit v1.2.3