summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp2
-rw-r--r--plugins/SecureIM/src/crypt_icons.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp
index 0ec2887af0..c632f6f5d6 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -722,7 +722,7 @@ HANDLE __fastcall GetIconIndexFromFI(LPTSTR szMirVer)
fiList[nFICount].dwArray = val;
if (hIcon != NULL) {
- hFoundImage = (HANDLE)CallService(MS_CLIST_EXTRA_ADD_ICON, (WPARAM)hIcon, 0);
+ hFoundImage = ExtraIcon_AddIcon(hIcon);
fiList[nFICount].hRegisteredImage = hFoundImage;
DestroyIcon(hIcon);
}
diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp
index 704b2a8254..b636464e38 100644
--- a/plugins/SecureIM/src/crypt_icons.cpp
+++ b/plugins/SecureIM/src/crypt_icons.cpp
@@ -56,7 +56,7 @@ HANDLE mode2clicon(int mode, int type)
ICON_CACHE &p = getCacheItem(mode, type);
if (p.hCLIcon == NULL)
- p.hCLIcon = (HANDLE)CallService(MS_CLIST_EXTRA_ADD_ICON, (WPARAM)p.icon, 0);
+ p.hCLIcon = ExtraIcon_AddIcon(p.icon);
return p.hCLIcon;
}