X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/341479ffb94bb84364a8161437ac635ac5b44ebb..bd73ba41f93a040ecf9c18040d7f788992d0a6ec:/utils/tex2rtf/src/rtfutils.cpp diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index c3a3968f1b..49c710c82a 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -3375,7 +3375,7 @@ bool RTFOnArgument(int macroId, int arg_no, bool start) else { TexOutput("??"); - sprintf(buf, "Warning: unresolved reference %s.", refName); + sprintf(buf, "Warning: unresolved reference '%s'", refName); OnInform(buf); } } @@ -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();