From 95aa036670a1ce2c461ffd9bd3a586d191ee4675 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Jul 2012 22:48:01 +0000 Subject: - various icolib fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Gender/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Gender/main.cpp') diff --git a/plugins/Gender/main.cpp b/plugins/Gender/main.cpp index 62825459f6..5e5f1f4992 100644 --- a/plugins/Gender/main.cpp +++ b/plugins/Gender/main.cpp @@ -258,13 +258,14 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) if (bContactMenuItems) hHookPrebuildContactMenu = HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPrebuildContactMenu); bMetaAvail = (ServiceExists(MS_MC_GETMETACONTACT) != 0); + TCHAR szFile[MAX_PATH]; + GetModuleFileName(g_hInst, szFile, MAX_PATH); + //IcoLib support SKINICONDESC sid = {0}; sid.cbSize = sizeof(sid); sid.flags = SIDF_ALL_TCHAR; sid.ptszSection = LPGENT("Gender"); - TCHAR szFile[MAX_PATH]; - GetModuleFileName(g_hInst, szFile, MAX_PATH); sid.ptszDefaultFile = szFile; sid.ptszDescription = LPGENT("Male"); -- cgit v1.2.3