summaryrefslogtreecommitdiff
path: root/src/modules/skin/skinicons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/skin/skinicons.cpp')
-rw-r--r--src/modules/skin/skinicons.cpp2
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);