diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-02 19:59:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-02 19:59:03 +0000 |
commit | ef3ec665e42401adabc59eb05d6bc7f38c5dcd36 (patch) | |
tree | afefa3e5e3e1e90f42c9047661bfaf0702caba99 /protocols | |
parent | 839847588d79b53441c55438eb028bd2966fb088 (diff) |
useless array removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-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;
}
|