diff options
-rw-r--r-- | protocols/Yahoo/src/icolib.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Yahoo/src/icolib.cpp b/protocols/Yahoo/src/icolib.cpp index eace62ab11..3e713a2388 100644 --- a/protocols/Yahoo/src/icolib.cpp +++ b/protocols/Yahoo/src/icolib.cpp @@ -28,8 +28,6 @@ static IconItem iconList[] = { LPGEN("Calendar"), "calendar", IDI_CALENDAR }
};
-HANDLE hIconLibItem[SIZEOF(iconList)];
-
void CYahooProto::IconsInit( void )
{
Icon_Register(hInstance, "Protocols/YAHOO", iconList, SIZEOF(iconList), "YAHOO");
@@ -46,7 +44,7 @@ HANDLE CYahooProto::GetIconHandle(int iconId) {
for (unsigned i=0; i < SIZEOF(iconList); i++)
if (iconList[i].defIconID == iconId)
- return hIconLibItem[i];
+ return iconList[i].hIcolib;
return NULL;
}
|