summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/amdproto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/EmLanProto/src/amdproto.cpp')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 29e286a969..9f9675f0c7 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -81,7 +81,7 @@ static INT_PTR __cdecl EMPGetCaps(WPARAM wParam,LPARAM )
static INT_PTR __cdecl EMPGetName(WPARAM wParam,LPARAM lParam)
{
- lstrcpyn((char*)lParam, "EmLan", wParam);
+ mir_tstrncpy((char*)lParam, "EmLan", wParam);
return 0;
}