]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/tex2rtf.cpp
corrected CodeWarrior project target names and generated application names
[wxWidgets.git] / utils / tex2rtf / src / tex2rtf.cpp
index 40537bea252c755479feca2f72e1515e728259d9..0e44e16304b1709b06dc21b295ad45780cdce4ce 100644 (file)
@@ -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)