From 89e96237250be5e305ccfb6cedd9530ccf0e3cf2 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sun, 30 Sep 2012 23:57:23 +0100 Subject: Fix word wrapping issue (words moved onto new lines were not being added to the line width) diff --git a/src/interface/Label.cpp b/src/interface/Label.cpp index b823977..80387ce 100644 --- a/src/interface/Label.cpp +++ b/src/interface/Label.cpp @@ -107,7 +107,8 @@ void Label::updateMultiline() *wordStart = '\n'; else if(!wordStart) rawText[charIndex-1] = '\n'; - lineWidth = wordWidth = 0; + lineWidth = wordWidth; + wordWidth = 0; lines++; } break; -- cgit v0.9.2-21-gd62e