]> git.lyx.org Git - features.git/blobdiff - src/text.C
* src/text3.C (dispatch): revert previous fix to 3143
[features.git] / src / text.C
index 9b37eaa07c0a71f5cce98b0242d1c3227177b15a..b96624bdac4750ede8d3af968f77156b646491e7 100644 (file)
@@ -653,9 +653,9 @@ void LyXText::breakParagraph(LCursor & cur, bool keep_layout)
        // This check is necessary. Otherwise the new empty paragraph will
        // be deleted automatically. And it is more friendly for the user!
        if (cur.pos() != 0 || isempty)
-               setCursor(cur.top(), cur.pit() + 1, 0);
+               setCursor(cur, cur.pit() + 1, 0);
        else
-               setCursor(cur.top(), cur.pit(), 0);
+               setCursor(cur, cur.pit(), 0);
 }