]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.C
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / figinset.C
index 618ff085011f48d3c24be4b0daf05cfc8e23d846..549c766d35b25b6a0d8325f4a3c3d77e54c96cd0 100644 (file)
@@ -48,6 +48,7 @@ using std::ifstream;
 using std::queue;
 using std::list;
 using std::find;
+using std::flush;
 
 #include "figinset.h"
 #include "lyx.h"
@@ -875,7 +876,7 @@ void sigchldchecker(pid_t pid, int * status)
                                p->broken = true;
                        }
                        makeupdatelist(bitmaps[i]);
-                       gsrunning--;
+                       --gsrunning;
                        runqueue();
                        pid_handled = true;
                }