diff options
Diffstat (limited to 'protocols/Tlen')
-rw-r--r-- | protocols/Tlen/src/tlen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp index fbf6d2a30a..744a33c2f5 100644 --- a/protocols/Tlen/src/tlen.cpp +++ b/protocols/Tlen/src/tlen.cpp @@ -260,8 +260,8 @@ int TlenProtocol::PreShutdown(WPARAM wParam, LPARAM lParam) void TlenProtocol::initMenuItems()
{
- char text[_MAX_PATH];
- strncpy_s(text, sizeof(text), m_szModuleName, _TRUNCATE);
+ char text[MAX_PATH];
+ strncpy_s(text, m_szModuleName, _TRUNCATE);
char *pSvcName = text + mir_strlen(text);
CLISTMENUITEM mi = { 0 };
|