summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/mir_icolib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/mir_icolib.cpp')
-rw-r--r--plugins/SendScreenshotPlus/mir_icolib.cpp2
1 files changed, 1 insertions, 1 deletions
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);