summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/sametime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Sametime/src/sametime.cpp')
-rw-r--r--protocols/Sametime/src/sametime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp
index 708be8481f..627b9a7d56 100644
--- a/protocols/Sametime/src/sametime.cpp
+++ b/protocols/Sametime/src/sametime.cpp
@@ -44,7 +44,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCO
*/
INT_PTR CSametimeProto::GetName(WPARAM wParam, LPARAM lParam)
{
- strncpy((char*)lParam, m_szModuleName, wParam);
+ mir_strncpy((char*)lParam, m_szModuleName, wParam);
return 0;
}