diff options
Diffstat (limited to 'protocols/IRCG/options.cpp')
-rw-r--r-- | protocols/IRCG/options.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/IRCG/options.cpp b/protocols/IRCG/options.cpp index 2152e340c9..e3f8bd1746 100644 --- a/protocols/IRCG/options.cpp +++ b/protocols/IRCG/options.cpp @@ -238,8 +238,9 @@ void AddIcons(void) sid.ptszDescription = iconList[i].szDescr;
sid.iDefaultIndex = -iconList[i].defIconID;
sid.cx = sid.cy = iconList[i].iSize;
- hIconLibItems[i] = ( HANDLE )CallService( MS_SKIN2_ADDICON, 0, ( LPARAM )&sid );
-} }
+ hIconLibItems[i] = Skin_AddIcon(&sid );
+ }
+}
void UninitIcons(void)
{
|