Simplify ErrorDialog.

This commit is contained in:
Glenn Maynard
2003-09-23 04:57:23 +00:00
parent 07e7a0633e
commit 24b9c2f4c0
7 changed files with 11 additions and 18 deletions
+1 -2
View File
@@ -688,8 +688,7 @@ int main(int argc, char* argv[])
{
// throw up a pretty error dialog
ErrorDialog *d = MakeErrorDialog();
d->SetErrorText(g_sErrorString);
d->ShowError();
d->ShowError( g_sErrorString );
delete d;
}