diff options
-rw-r--r-- | engines/scumm/he/moonbase/net_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp index acd11765f0..6ae84ce116 100644 --- a/engines/scumm/he/moonbase/net_main.cpp +++ b/engines/scumm/he/moonbase/net_main.cpp @@ -394,7 +394,7 @@ void Net::getSessionName(int sessionNumber, char *buffer, int length) { return; } - strlcpy(buffer, _sessions->child(sessionNumber)->child("name")->asString().c_str(), length); + Common::strlcpy(buffer, _sessions->child(sessionNumber)->child("name")->asString().c_str(), length); } int Net::getSessionPlayerCount(int sessionNumber) { |