http://bugzilla.lyx.org/show_bug.cgi?id=2509

This fix seems trivial, although I could not reproduce the original
report. BTW, how come in a float inset all my hfills have zero width?

JMarc

Index: src/text.C
===================================================================
--- src/text.C	(revision 13653)
+++ src/text.C	(working copy)
@@ -133,7 +133,7 @@ int numberOfLabelHfills(Paragraph const 
 
 int numberOfHfills(Paragraph const & par, Row const & row)
 {
-	pos_type const last = row.endpos() - 1;
+	pos_type const last = row.endpos();
 	pos_type first = row.pos();
 
 	// hfill *DO* count at the beginning of paragraphs!

Reply via email to