aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/string_pn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/string_pn.cpp')
-rw-r--r--engines/agos/string_pn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/string_pn.cpp b/engines/agos/string_pn.cpp
index 7a364f3ea9..06c8bbd98e 100644
--- a/engines/agos/string_pn.cpp
+++ b/engines/agos/string_pn.cpp
@@ -114,7 +114,7 @@ void AGOSEngine_PN::getObjectName(char *v, uint16 x) {
}
void AGOSEngine_PN::pcl(const char *s) {
- strcat(_sb, s);
+ Common::strlcat(_sb, s, 80);
if (strchr(s, '\n') == 0) {
for (char *str = _sb; *str; str++)
windowPutChar(_windowArray[_curWindow], *str);