]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Forgot to add this files.
[lyx.git] / src / buffer.C
index 613f0d8b1f7c3dec64510dd9ac77d2a8adcd8cf0..7e5395cabc66013c2a5a150d4b2cdef5c53fb3b3 100644 (file)
@@ -1039,8 +1039,8 @@ void Buffer::readInset(LyXLex & lex, LyXParagraph *& par,
        } else if (tmptok == "GRAPHICS") {
                Inset * inset = new InsetGraphics;
                inset->Read(this, lex);
-               ++pos;
                par->InsertInset(pos, inset, font);
+               ++pos;
        } else if (tmptok == "LatexCommand") {
                InsetCommandParams inscmd;
                inscmd.Read(lex);