diff options
author | George Hazan <george.hazan@gmail.com> | 2016-06-29 17:07:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-06-29 17:07:45 +0000 |
commit | 00fbddd5438d83614465a84bc81031df7c023fc0 (patch) | |
tree | 3ae4663d7556c3242ec7633ecc5d522020160be0 /protocols/Gadu-Gadu/src | |
parent | 477783f8ee49db7a48a0712bc073755bec54ab95 (diff) |
fix for old iconlib handle arrays
git-svn-id: http://svn.miranda-ng.org/main/trunk@17048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/icolib.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/icolib.cpp b/protocols/Gadu-Gadu/src/icolib.cpp index 0a81610891..3a5d05451a 100644 --- a/protocols/Gadu-Gadu/src/icolib.cpp +++ b/protocols/Gadu-Gadu/src/icolib.cpp @@ -41,8 +41,6 @@ extern IconItem iconList[] = { LPGEN("Concurrent sessions"), "sessions", IDI_SESSIONS }
};
-HANDLE hIconLibItem[_countof(iconList)];
-
void gg_icolib_init()
{
Icon_Register(hInstance, "Protocols/" GGDEF_PROTO, iconList, _countof(iconList), GGDEF_PROTO);
@@ -59,7 +57,7 @@ HANDLE GetIconHandle(int iconId) {
for(int i = 0; i < _countof(iconList); i++)
if (iconList[i].defIconID == iconId)
- return hIconLibItem[i];
+ return iconList[i].hIcolib;
return NULL;
}
|