summaryrefslogtreecommitdiff
path: root/src/interface/Label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Label.cpp')
-rw-r--r--src/interface/Label.cpp3
1 files changed, 2 insertions, 1 deletions
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;