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/PasteIt/src/PasteIt.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/PasteIt') diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index d74ed92621..aab0d15d68 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -367,16 +367,14 @@ INT_PTR ContactMenuService(WPARAM wParam, LPARAM lParam) void InitIcolib() { TCHAR stzFile[MAX_PATH]; + GetModuleFileName(hInst, stzFile, MAX_PATH); - SKINICONDESC sid = {0}; - sid.cbSize = sizeof(sid); + SKINICONDESC sid = { sizeof(sid) }; sid.cx = sid.cy = 16; sid.ptszDefaultFile = stzFile; sid.ptszSection = LPGENT("Paste It"); sid.flags = SIDF_ALL_TCHAR; - GetModuleFileName(hInst, stzFile, MAX_PATH); - sid.pszName = "PasteIt_main"; sid.ptszDescription = LPGENT("Paste It"); sid.iDefaultIndex = -IDI_MENU; -- cgit v1.2.3