diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-11 18:38:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-11 18:38:15 +0000 |
commit | 27c63813af1433d827335b5d1d34c2b70eddeb6b (patch) | |
tree | 00c17e3d2e4c378a99dbdb5655039aced63430c4 /src/modules/skin | |
parent | 6651124419887cafa9b3ecda6a3e479a477e4077 (diff) |
strcpy() calls replaced with strncpy_s()
git-svn-id: http://svn.miranda-ng.org/main/trunk@12772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin')
-rw-r--r-- | src/modules/skin/skinicons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp index 6b963dc037..048322bc49 100644 --- a/src/modules/skin/skinicons.cpp +++ b/src/modules/skin/skinicons.cpp @@ -462,7 +462,7 @@ int LoadSkinIcons(void) db_free(&dbv);
}
moduleName[0] = 0;
- strcpy(iconName, "core_status_" GLOBAL_PROTO_NAME);
+ strncpy_s(iconName, "core_status_" GLOBAL_PROTO_NAME, _TRUNCATE);
convertOneProtocol(moduleName, iconName);
CreateServiceFunction(MS_SKIN_LOADICON, sttLoadSkinIcon);
|