summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/icolib.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-02 19:59:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-02 19:59:03 +0000
commitef3ec665e42401adabc59eb05d6bc7f38c5dcd36 (patch)
treeafefa3e5e3e1e90f42c9047661bfaf0702caba99 /protocols/Yahoo/src/icolib.cpp
parent839847588d79b53441c55438eb028bd2966fb088 (diff)
useless array removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/icolib.cpp')
-rw-r--r--protocols/Yahoo/src/icolib.cpp4
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;
}