From 72a531bc82d5458d8f3483ffa88332b673a819d4 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 6 Jul 2013 18:55:38 +0000 Subject: (svn r25568) -Fix: Non-ICU layouter started new lines with the space which triggered the linebreak. --- src/gfx_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx_layout.cpp') diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index 767bdc1d3..f3b1ac1d3 100644 --- a/src/gfx_layout.cpp +++ b/src/gfx_layout.cpp @@ -355,7 +355,7 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width) last_char = this->buffer; } else { /* A space is found; perfect place to terminate */ - this->buffer = last_space; + this->buffer = last_space + 1; last_char = last_space; } break; -- cgit v1.2.3-54-g00ecf