]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.C
fix nullstream also in pch files
[lyx.git] / src / buffer_funcs.C
index 18e04b835d3cd0d5a7e624090615ff03ae6d3d89..d13042f063674f4755cc359f6293036416c323db 100644 (file)
@@ -476,9 +476,10 @@ void setCounter(Buffer const & buf, ParIterator & it)
                        --i;
                        InsetBase * const in = &it[i].inset();
                        if (in->lyxCode() == InsetBase::FLOAT_CODE
-                           || in->lyxCode() == InsetBase::WRAP_CODE)
+                           || in->lyxCode() == InsetBase::WRAP_CODE) {
                                type = in->getInsetName();
                                break;
+                       }
                }
 
                string s;