diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-19 19:24:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-19 19:24:30 +0000 |
commit | e06301258eb9730619cd527917965dd2ed82ef7a (patch) | |
tree | 135014fe6d8eaff7b58607c99411b4b83369c6a3 /src/modules/extraicons/usedIcons.cpp | |
parent | 6a519f13155c9012db6fb95f7f48a74029d6e3d2 (diff) |
ugly clutch for those blasted extra icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@2380 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/usedIcons.cpp')
-rw-r--r-- | src/modules/extraicons/usedIcons.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/extraicons/usedIcons.cpp b/src/modules/extraicons/usedIcons.cpp index e36fac7d96..682573168b 100644 --- a/src/modules/extraicons/usedIcons.cpp +++ b/src/modules/extraicons/usedIcons.cpp @@ -33,8 +33,11 @@ struct Icon }
Icon(HANDLE _hIcolib) :
- name(""), hIcoLib(_hIcolib), refCount(0), hImage(INVALID_HANDLE_VALUE)
+ hIcoLib(_hIcolib), refCount(0), hImage(INVALID_HANDLE_VALUE)
{
+ char szId[30];
+ wsprintfA(szId, "{%p}", _hIcolib);
+ name = szId;
}
};
|