summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/src/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags/src/icons.cpp')
-rw-r--r--plugins/CountryFlags/src/icons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CountryFlags/src/icons.cpp b/plugins/CountryFlags/src/icons.cpp
index 401f79c15d..8c4ad30328 100644
--- a/plugins/CountryFlags/src/icons.cpp
+++ b/plugins/CountryFlags/src/icons.cpp
@@ -147,7 +147,7 @@ HICON __fastcall LoadFlagIcon(int countryNumber)
char szId[20];
mir_snprintf(szId, SIZEOF(szId), (countryNumber == 0xFFFF) ? "%s0x%X" : "%s%i", "flags_", countryNumber); /* buffer safe */
- return Skin_GetIcon(szId);
+ return IcoLib_GetIcon(szId);
}
int __fastcall CountryNumberToIndex(int countryNumber)
@@ -254,7 +254,7 @@ void InitIcons(void)
}
else sid.hDefaultIcon = NULL;
index = CountryNumberToIndex(countries[i].id);
- phIconHandles[index] = Skin_AddIcon(&sid);
+ phIconHandles[index] = IcoLib_AddIcon(&sid);
if (sid.hDefaultIcon != NULL)
DestroyIcon(sid.hDefaultIcon);
}