X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.cpp;h=1c17fb299283b7a66df9e7034c096d5b2136c026;hb=d4d4654d6325e92aff96523b64e1d403655a71cc;hp=68ab98414fc341d9f321cfa9bcfe095082db2ec7;hpb=c29f31e9822f1ae651129e9647be2de4afa4e918;p=features.git diff --git a/src/Row.cpp b/src/Row.cpp index 68ab98414f..1c17fb2992 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@ -144,7 +144,7 @@ bool Row::Element::splitAt(int const width, int next_width, bool force, isRTL(), wrap_any | force); // if breaking did not really work, give up - if (!force && breaks.front().wid > width) { + if (!force && breaks.front().nspc_wid > width) { if (dim.wid == 0) dim.wid = fm.width(str); return false; @@ -336,7 +336,7 @@ ostream & operator<<(ostream & os, Row const & row) << " descent: " << row.dim_.des << " separator: " << row.separator << " label_hfill: " << row.label_hfill - << " right_boundary: " << row.right_boundary() + << " end_boundary: " << row.end_boundary() << " flushed: " << row.flushed() << "\n"; // We cannot use the operator above, unfortunately double x = row.left_margin;