]> git.lyx.org Git - features.git/blobdiff - src/Row.cpp
brkstr2str_pos: avoid case where length is negative
[features.git] / src / Row.cpp
index ef1495fb5970c257f9f72663403827b6f018041b..d1921a6d3fed15b5af7e0e65d5a608fbaf6892c0 100644 (file)
@@ -460,12 +460,12 @@ void Row::add(pos_type const pos, Inset const * ins, Dimension const & dim,
 
 
 void Row::add(pos_type const pos, char_type const c,
-              Font const & f, Change const & ch, bool can_break)
+              Font const & f, Change const & ch)
 {
        if (!sameString(f, ch)) {
                finalizeLast();
                Element e(STRING, pos, f, ch);
-               e.row_flags = can_break ? CanBreakInside : Inline;
+               e.row_flags = CanBreakInside;
                elements_.push_back(e);
        }
        back().str += c;