X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04b9c5bb04bfa5470997667993f849e25fc5e869..f2616db56739e4962f683f59ac9e207756efe23c:/utils/tex2rtf/src/tex2rtf.cpp 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)