aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables/script_ext_string.cpp
diff options
context:
space:
mode:
authorD G Turner2013-03-24 19:04:36 +0000
committerD G Turner2013-03-24 19:04:36 +0000
commit69ba094f60d7dca410b8f880eabd6de23df522a8 (patch)
tree39bcde1ff466199d97e83ba285ca8da28235768d /engines/wintermute/base/scriptables/script_ext_string.cpp
parent502cde4fa05c0621c95e657bc6ee8b9a0174efa9 (diff)
downloadscummvm-rg350-69ba094f60d7dca410b8f880eabd6de23df522a8.tar.gz
scummvm-rg350-69ba094f60d7dca410b8f880eabd6de23df522a8.tar.bz2
scummvm-rg350-69ba094f60d7dca410b8f880eabd6de23df522a8.zip
WINTERMUTE: Really fix build breakage...
strlcpy() needed qualification of Common namespace.
Diffstat (limited to 'engines/wintermute/base/scriptables/script_ext_string.cpp')
-rw-r--r--engines/wintermute/base/scriptables/script_ext_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/scriptables/script_ext_string.cpp b/engines/wintermute/base/scriptables/script_ext_string.cpp
index 49b91b07cc..71544a20aa 100644
--- a/engines/wintermute/base/scriptables/script_ext_string.cpp
+++ b/engines/wintermute/base/scriptables/script_ext_string.cpp
@@ -303,7 +303,7 @@ bool SXString::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
{
char *part = new char[i - start + 1];
if(i != start) {
- strlcpy(part, str.c_str() + start, i - start + 1);
+ Common::strlcpy(part, str.c_str() + start, i - start + 1);
part[i - start] = '\0';
} else {
part[0] = '\0';