summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-19 22:48:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-19 22:48:01 +0000
commit95aa036670a1ce2c461ffd9bd3a586d191ee4675 (patch)
treecd244db18622df3462166ed39593ca924c890f6b /plugins/BossKeyPlus
parentf6e0db0590e2f8feeacc29d4e50007fbe358f9d5 (diff)
- various icolib fixes;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BossKeyPlus')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp
index cba063070e..5d4d6d4c21 100644
--- a/plugins/BossKeyPlus/src/BossKey.cpp
+++ b/plugins/BossKeyPlus/src/BossKey.cpp
@@ -602,21 +602,19 @@ static TCHAR *GetBossKeyText(void)
static int IcoLibInit (void) // Icolib support
{
- SKINICONDESC sid = {0};
TCHAR tszFile[MAX_PATH];
GetModuleFileName(g_hInstance, tszFile, MAX_PATH);
+ SKINICONDESC sid = {0};
sid.cbSize = sizeof(SKINICONDESC);
sid.flags = SIDF_ALL_TCHAR;
sid.ptszDefaultFile = tszFile;
sid.cx = sid.cy = 16;
sid.ptszSection = _T("BossKey");
-
sid.pszName = "hidemim";
sid.ptszDescription = _T("Hide Miranda IM");
sid.iDefaultIndex = -IDI_DLGPASSWD;
g_hIcon = Skin_AddIcon(&sid);
-
return 0;
}