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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user