From: Uwe Stöhr Date: Sun, 15 Feb 2015 00:04:41 +0000 (+0100) Subject: text3.cpp: adapt a possible fix to current code X-Git-Tag: 2.2.0alpha1~1302 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4a8881c60ac94205ed053da808094e79a346cde2;p=features.git text3.cpp: adapt a possible fix to current code --- diff --git a/src/Text3.cpp b/src/Text3.cpp index fc8846ea5b..e2602f031b 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1101,13 +1101,13 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) /* Paragraph & par = pars_[cur.pit()]; if (inset->lyxCode() == LABEL_CODE - && !par.layout().counter.empty() { + && !par.layout().counter.empty()) { // Go to the end of the paragraph // Warning: Because of Change-Tracking, the last // position is 'size()' and not 'size()-1': cur.pos() = par.size(); // Insert a new paragraph - FuncRequest fr(LFUN_BREAK_PARAGRAPH); + FuncRequest fr(LFUN_PARAGRAPH_BREAK); dispatch(cur, fr); } */