Fixed closing of program to work properly if PASS #1 failed for some reason. Before this fix, you could not exit the GUI version of the program under windows without using CTRL-ALT-DEL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-07-18 21:04:36 +00:00
parent 1156efc1c4
commit e4941e3d12

View File

@@ -991,7 +991,10 @@ bool Go(void)
TexLoadFile(InputFile);
if (stopRunning)
{
OkToClose = TRUE;
return FALSE;
}
switch (convertMode)
{
@@ -1017,6 +1020,7 @@ bool Go(void)
OnInform("*** Aborted by user.");
success = FALSE;
stopRunning = FALSE;
OkToClose = TRUE;
}
if (success)