+2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
+
+ * text.C (rowBreakPoint): fix a bug showing with very large insets
2004-02-25 André Pönitz <poenitz@gmx.net>
}
x += thiswidth;
- //lyxerr << "i: " << i << " x: "
- //<< x << " width: " << width << endl;
chunkwidth += thiswidth;
}
if (x >= width) {
// if no break before, break here
if (point == end || chunkwidth >= width - left) {
- if (i > pos) {
+ if (i > pos)
point = i;
- break;
- }
+ else
+ point = i + 1;
+
}
// exit on last registered breakpoint:
break;