summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src/PasteIt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-01 21:07:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-01 21:07:34 +0000
commit66ddfd87a0e55b9534b8669392bb0cdee2e9fa3b (patch)
tree6075890e2ba60622069d5179f280d64b225c9be9 /plugins/PasteIt/src/PasteIt.cpp
parent1860018b201d995ed051c0affb72d5a1d09fa02e (diff)
SKINICONDESC initialization - end-II :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PasteIt/src/PasteIt.cpp')
-rw-r--r--plugins/PasteIt/src/PasteIt.cpp6
1 files changed, 2 insertions, 4 deletions
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;