diff options
author | Paul Gilbert | 2007-10-07 11:05:09 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-10-07 11:05:09 +0000 |
commit | 199e60b9a0e2b355c96cada2b9bf0c0c26c2db04 (patch) | |
tree | 021b875f70729a6aafb1ff1840af034171781f60 /engines/lure | |
parent | fbd356f98e7b7d243a13117999fe4811a5541f0d (diff) | |
download | scummvm-rg350-199e60b9a0e2b355c96cada2b9bf0c0c26c2db04.tar.gz scummvm-rg350-199e60b9a0e2b355c96cada2b9bf0c0c26c2db04.tar.bz2 scummvm-rg350-199e60b9a0e2b355c96cada2b9bf0c0c26c2db04.zip |
Finally tracked down a bug that sometimes caused word wrapping to fail
svn-id: r29164
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 4407828165..1c69662b69 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -337,7 +337,7 @@ void Surface::wordWrap(char *text, uint16 width, char **&lines, uint8 &numLines) *(wordStart - 1) = '\0'; ++numLines; lineWidth = 0; - wordEnd = wordStart; + wordEnd = wordStart - 1; } else if (newLine) { // Break on newline ++numLines; |