[Scummvm-cvs-logs] scummvm master -> 69ba094f60d7dca410b8f880eabd6de23df522a8

digitall dgturner at iee.org
Sun Mar 24 20:03:38 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
69ba094f60 WINTERMUTE: Really fix build breakage...


Commit: 69ba094f60d7dca410b8f880eabd6de23df522a8
    https://github.com/scummvm/scummvm/commit/69ba094f60d7dca410b8f880eabd6de23df522a8
Author: D G Turner (digitall at scummvm.org)
Date: 2013-03-24T12:04:36-07:00

Commit Message:
WINTERMUTE: Really fix build breakage...

strlcpy() needed qualification of Common namespace.

Changed paths:
    engines/wintermute/base/scriptables/script_ext_string.cpp



diff --git a/engines/wintermute/base/scriptables/script_ext_string.cpp b/engines/wintermute/base/scriptables/script_ext_string.cpp
index 49b91b0..71544a2 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';






More information about the Scummvm-git-logs mailing list