summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags')
-rw-r--r--plugins/CountryFlags/icons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CountryFlags/icons.c b/plugins/CountryFlags/icons.c
index 46bf2a9391..82dea7cabc 100644
--- a/plugins/CountryFlags/icons.c
+++ b/plugins/CountryFlags/icons.c
@@ -265,7 +265,7 @@ void InitIcons(void)
sid.hDefaultIcon=(hIcon!=NULL)?ResizeIconCentered(hIcon,sid.cx,sid.cy):NULL;
if(hIcon!=NULL) DestroyIcon(hIcon);
index=CountryNumberToIndex(countries[i].id);
- phIconHandles[index]=(HANDLE)CallService(MS_SKIN2_ADDICON,0,(LPARAM)&sid);
+ phIconHandles[index] = Skin_AddIcon(&sid);
if(sid.hDefaultIcon!=NULL) DestroyIcon(sid.hDefaultIcon);
}
ImageList_Destroy(himl);