From aaa6b9eba58239dee4b2b6817ac809b80461c630 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 8 Jul 2012 17:26:53 +0000 Subject: SendScreenshotPlus: adopted git-svn-id: http://svn.miranda-ng.org/main/trunk@856 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/mir_icolib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SendScreenshotPlus/mir_icolib.cpp') diff --git a/plugins/SendScreenshotPlus/mir_icolib.cpp b/plugins/SendScreenshotPlus/mir_icolib.cpp index dc9a7ad02f..33718faf98 100644 --- a/plugins/SendScreenshotPlus/mir_icolib.cpp +++ b/plugins/SendScreenshotPlus/mir_icolib.cpp @@ -301,7 +301,7 @@ static HANDLE IcoLib_RegisterIconHandleEx(LPSTR szIconID, LPSTR szDescription, L sid.hDefaultIcon = hDefIcon; sid.iDefaultIndex = -1; } - hIconHandle = (HANDLE) CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid); + hIconHandle = Skin_AddIcon(&sid); } mir_freeAndNil(sid.ptszDescription); mir_freeAndNil(sid.ptszSection); -- cgit v1.2.3