From 66ddfd87a0e55b9534b8669392bb0cdee2e9fa3b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 21:07:34 +0000 Subject: SKINICONDESC initialization - end-II :) git-svn-id: http://svn.miranda-ng.org/main/trunk@2599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/icons.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/DbEditorPP') diff --git a/plugins/DbEditorPP/src/icons.cpp b/plugins/DbEditorPP/src/icons.cpp index d2902fce20..145d14f036 100644 --- a/plugins/DbEditorPP/src/icons.cpp +++ b/plugins/DbEditorPP/src/icons.cpp @@ -4,9 +4,8 @@ HIMAGELIST himl; void addIcons(TCHAR* szModuleFileName) { - SKINICONDESC sid={0}; char name[32]; - sid.cbSize = sizeof(sid); + SKINICONDESC sid = { sizeof(sid) }; sid.ptszSection = _T(modFullname); sid.ptszDefaultFile = szModuleFileName; sid.flags = SIDF_ALL_TCHAR; -- cgit v1.2.3