aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/text.cpp')
-rw-r--r--engines/agi/text.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}