summaryrefslogtreecommitdiff
path: root/plugins/NoHistory
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/NoHistory
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/NoHistory')
-rw-r--r--plugins/NoHistory/src/icons.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/NoHistory/src/icons.cpp b/plugins/NoHistory/src/icons.cpp
index f3f606fb45..f0d0844aa5 100644
--- a/plugins/NoHistory/src/icons.cpp
+++ b/plugins/NoHistory/src/icons.cpp
@@ -15,13 +15,12 @@ int ReloadIcons(WPARAM wParam, LPARAM lParam) {
void InitIcons()
{
- SKINICONDESC sid = { sizeof(sid) };
+ TCHAR path[MAX_PATH];
+ GetModuleFileName(hInst,path,MAX_PATH);
+ SKINICONDESC sid = { sizeof(sid) };
sid.pszSection = MODULE;
sid.flags = SIDF_PATH_TCHAR;
-
- TCHAR path[MAX_PATH];
- GetModuleFileName(hInst,path,MAX_PATH);
sid.ptszDefaultFile = path;
sid.pszDescription = LPGEN("Disable");