summaryrefslogtreecommitdiff
path: root/protocols/YAMN/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN/main.cpp')
-rw-r--r--protocols/YAMN/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/YAMN/main.cpp b/protocols/YAMN/main.cpp
index e876465609..7ea9386c4c 100644
--- a/protocols/YAMN/main.cpp
+++ b/protocols/YAMN/main.cpp
@@ -320,7 +320,7 @@ static void LoadIcons()
sid.pszName = iconList[i].szName;
sid.pszDescription = iconList[i].szDescr;
sid.iDefaultIndex = -iconList[i].defIconID;
- iconList[i].hIcon = ( HANDLE )CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
+ iconList[i].hIcon = Skin_AddIcon(&sid);
} }
HANDLE WINAPI g_GetIconHandle( int idx )