diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 23:07:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 23:07:42 +0000 |
commit | fd602fafce02247a045dc94a104bcf949113c80f (patch) | |
tree | 21d5b0c65fa3826cc557794926e424714592ff53 /protocols/Tlen | |
parent | 279379bd2da15aed40c0bf61f34f48de37a99c8e (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 };
|