]> git.lyx.org Git - features.git/blobdiff - src/Row.cpp
Only load subscript package with LaTeX < 2005/12/01 (#12387)
[features.git] / src / Row.cpp
index 68ab98414fc341d9f321cfa9bcfe095082db2ec7..1c17fb299283b7a66df9e7034c096d5b2136c026 100644 (file)
@@ -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;