[Scummvm-cvs-logs] SF.net SVN: scummvm: [29164] scummvm/trunk/engines/lure/surface.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Oct 7 13:05:09 CEST 2007
Revision: 29164
http://scummvm.svn.sourceforge.net/scummvm/?rev=29164&view=rev
Author: dreammaster
Date: 2007-10-07 04:05:09 -0700 (Sun, 07 Oct 2007)
Log Message:
-----------
Finally tracked down a bug that sometimes caused word wrapping to fail
Modified Paths:
--------------
scummvm/trunk/engines/lure/surface.cpp
Modified: scummvm/trunk/engines/lure/surface.cpp
===================================================================
--- scummvm/trunk/engines/lure/surface.cpp 2007-10-07 11:03:14 UTC (rev 29163)
+++ scummvm/trunk/engines/lure/surface.cpp 2007-10-07 11:05:09 UTC (rev 29164)
@@ -337,7 +337,7 @@
*(wordStart - 1) = '\0';
++numLines;
lineWidth = 0;
- wordEnd = wordStart;
+ wordEnd = wordStart - 1;
} else if (newLine) {
// Break on newline
++numLines;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list