diff options
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;
}
};
|