]> git.lyx.org Git - lyx.git/blobdiff - src/Row.cpp
es.po: fix a typo introduced by last commit
[lyx.git] / src / Row.cpp
index bd0945961f415eb44e8768534652dee672038ee2..6e51fb192b49e64e6673b8198c31e1e4dc70f2e6 100644 (file)
@@ -128,6 +128,7 @@ bool Row::Element::breakAt(int w, bool force)
                //lyxerr << "breakAt(" << w << ")  Row element Broken at " << x << "(w(str)=" << fm.width(str) << "): e=" << *this << endl;
                return true;
        }
+
        return false;
 }
 
@@ -466,7 +467,7 @@ void Row::shortenIfNeeded(pos_type const keep, int const w)
                        /* after breakAt, there may be spaces at the end of the
                         * string, but they are not counted in the string length
                         * (QTextLayout feature, actually). We remove them, but do
-                        * not change the endo of the row, since the spaces at row
+                        * not change the end of the row, since spaces at row
                         * break are invisible.
                         */
                        brk.str = rtrim(brk.str);