aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
authorMax Horn2003-11-01 20:52:41 +0000
committerMax Horn2003-11-01 20:52:41 +0000
commitf7ab7f62075107a8afbc071555b25612320664b9 (patch)
tree5151bc75f8e37ccf833f42f03699811df1c7c928 /backends/dc
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 'backends/dc')
-rw-r--r--backends/dc/vmsave.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/dc/vmsave.cpp b/backends/dc/vmsave.cpp
index 0a090cd244..9b57e583b8 100644
--- a/backends/dc/vmsave.cpp
+++ b/backends/dc/vmsave.cpp
@@ -69,9 +69,8 @@ static void displaySaveResult(vmsaveResult res)
break;
}
- Dialog *dialog = new MessageDialog(g_gui, buf);
- dialog->runModal();
- delete dialog;
+ MessageDialog dialog(g_gui, buf);
+ dialog.runModal();
}
static vmsaveResult trySave(const char *gamename, const char *data, int size,