[Scummvm-cvs-logs] SF.net SVN: scummvm:[49736] scummvm/trunk/engines/agi/text.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Jun 15 12:28:59 CEST 2010
Revision: 49736
http://scummvm.svn.sourceforge.net/scummvm/?rev=49736&view=rev
Author: sev
Date: 2010-06-15 10:28:58 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
AGI: Fix bug #2960563.
Bug #2960563: "AGI: (Fan) SQ0: Text input field overdraws Text window".
Now our text wrapping code matches original.
Modified Paths:
--------------
scummvm/trunk/engines/agi/text.cpp
Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp 2010-06-15 10:28:40 UTC (rev 49735)
+++ scummvm/trunk/engines/agi/text.cpp 2010-06-15 10:28:58 UTC (rev 49736)
@@ -135,8 +135,8 @@
if (x == 0 && y == 0 && len == 0)
x = y = -1;
- if (len <= 0 || len >= 40)
- len = 32;
+ if (len <= 0)
+ len = 30;
xoff = x * CHAR_COLS;
yoff = y * CHAR_LINES;
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