]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
FindAdv: Amend ec387b6d: Handle search for '{' and '}'
[lyx.git] / src / Text.cpp
index 8435b73972f6bf0de32b40765e5df207c1a1f6d1..19b3af5b28b2a272a1f50726f5a57313346893eb 100644 (file)
@@ -1950,7 +1950,7 @@ bool Text::splitInset(Cursor & cur)
                cur.setMark(false);
                cur.selHandle(false);
                cur.resetAnchor();
-               bool atlastpos;
+               bool atlastpos = false;
                if (cur.pos() == 0 && cur.pit() > 0) {
                        // if we are at par start, remove this par
                        cur.text()->backspace(cur);