From 91dcca89b1374823f147493985d6ae356eaeabcd Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 21 Oct 2009 01:23:05 +0000 Subject: Fix another regression that didn't append data in safeStrcat. svn-id: r45296 --- engines/agi/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agi/text.cpp') diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index 87807105e3..ee9aebf240 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -516,7 +516,7 @@ void AgiEngine::printStatus(const char *message, ...) { 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; } -- cgit v1.2.3