X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04b9c5bb04bfa5470997667993f849e25fc5e869..08a092f9f4de6c80a2d43d4072c379ac84e6cc2f:/utils/tex2rtf/src/tex2rtf.cpp?ds=sidebyside diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index 40537bea25..0e44e16304 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -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)