[Scummvm-cvs-logs] SF.net SVN: scummvm:[45296] scummvm/trunk/engines/agi/text.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Wed Oct 21 03:23:05 CEST 2009


Revision: 45296
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45296&view=rev
Author:   mthreepwood
Date:     2009-10-21 01:23:05 +0000 (Wed, 21 Oct 2009)

Log Message:
-----------
Fix another regression that didn't append data in safeStrcat.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/text.cpp

Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp	2009-10-21 01:01:23 UTC (rev 45295)
+++ scummvm/trunk/engines/agi/text.cpp	2009-10-21 01:23:05 UTC (rev 45296)
@@ -516,7 +516,7 @@
 	printText(x, 0, 0, _game.lineStatus, 40, STATUS_FG, STATUS_BG);
 }
 
-static void safeStrcat(Common::String p, const char *t) {
+static void safeStrcat(Common::String &p, const char *t) {
 	if (t != NULL)
 		p += t;
 }


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