diff options
Diffstat (limited to 'src/gfx_layout.cpp')
-rw-r--r-- | src/gfx_layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |