diff options
Diffstat (limited to 'plugins/MenuItemEx/main.cpp')
-rw-r--r-- | plugins/MenuItemEx/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MenuItemEx/main.cpp b/plugins/MenuItemEx/main.cpp index 3b24d1e0f9..ed053b2223 100644 --- a/plugins/MenuItemEx/main.cpp +++ b/plugins/MenuItemEx/main.cpp @@ -233,17 +233,16 @@ void RenameDbProto(HANDLE hContact, HANDLE hContactNew, char* oldName, char* new static void IconsInit()
{
int i;
- SKINICONDESC sid = {0};
TCHAR tszFile[MAX_PATH];
GetModuleFileName(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 = LPGENT(MODULENAME);
-
for ( i = 0; i < SIZEOF(iconList); i++ ) {
sid.pszName = iconList[i].szName;
sid.ptszDescription = iconList[i].szDescr;
|