X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31ad62bc096aaa3de3e0702c92d75b2e43c32605..5a2930ab799949b7343ef87e5dfb24afadad1568:/utils/tex2rtf/src/rtfutils.cpp?ds=sidebyside diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index 3a596413a8..49c710c82a 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -5090,6 +5090,9 @@ bool RTFOnArgument(int macroId, int arg_no, bool start) bool RTFGo(void) { + if (stopRunning) + return FALSE; + // Reset variables indentLevel = 0; forbidParindent = 0; @@ -5164,6 +5167,9 @@ bool RTFGo(void) SetCurrentOutput(Chapters); + if (stopRunning) + return FALSE; + OnInform("Converting..."); TraverseDocument();