Fix another regression that didn't append data in safeStrcat.

svn-id: r45296
This commit is contained in:
Matthew Hoops 2009-10-21 01:23:05 +00:00
parent 6114381b4c
commit 91dcca89b1

View File

@ -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;
}