aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-11-01 20:52:41 +0000
committerMax Horn2003-11-01 20:52:41 +0000
commitf7ab7f62075107a8afbc071555b25612320664b9 (patch)
tree5151bc75f8e37ccf833f42f03699811df1c7c928 /scumm
parente6eb3e234d4188a6753bfa3bf0cf637e6c716316 (diff)
downloadscummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.tar.gz
scummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.tar.bz2
scummvm-rg350-f7ab7f62075107a8afbc071555b25612320664b9.zip
cleanup: new MessageDialog subclass TimedMessageDialog
svn-id: r11033
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index ea0674bd53..306016ccde 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1366,7 +1366,7 @@ load_game:
#endif
sprintf(buf, "Successfully saved game state in file:\n\n%s", filename);
- MessageDialog dialog(_newgui, buf, 1500, false);
+ TimedMessageDialog dialog(_newgui, buf, 1500);
runDialog(dialog);
}
if (success && _saveLoadFlag != 1)
@@ -2496,7 +2496,7 @@ char ScummEngine::displayError(bool showCancel, const char *message, ...) {
vsprintf(buf, message, va);
va_end(va);
- MessageDialog dialog(_newgui, buf, 0, true, showCancel);
+ MessageDialog dialog(_newgui, buf, true, showCancel);
return runDialog(dialog);
}