[Scummvm-cvs-logs] SF.net SVN: scummvm:[44004] scummvm/trunk/engines/teenagent/font.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Mon Sep 7 22:12:17 CEST 2009
Revision: 44004
http://scummvm.svn.sourceforge.net/scummvm/?rev=44004&view=rev
Author: megath
Date: 2009-09-07 20:12:17 +0000 (Mon, 07 Sep 2009)
Log Message:
-----------
fixed invalid text length calculation
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/font.cpp
Modified: scummvm/trunk/engines/teenagent/font.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/font.cpp 2009-09-07 16:18:05 UTC (rev 44003)
+++ scummvm/trunk/engines/teenagent/font.cpp 2009-09-07 20:12:17 UTC (rev 44004)
@@ -54,7 +54,7 @@
uint h = glyph[0], w = glyph[1];
if (surface == NULL || surface->pixels == NULL)
- return w;
+ return w - 1;
//debug(0, "char %c, width: %dx%d", c, w, h);
glyph += 2;
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