summaryrefslogtreecommitdiff
path: root/plugins/Actman/ua/i_uaplaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman/ua/i_uaplaces.inc')
-rw-r--r--plugins/Actman/ua/i_uaplaces.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc
index 974fef9ea5..e885088f8d 100644
--- a/plugins/Actman/ua/i_uaplaces.inc
+++ b/plugins/Actman/ua/i_uaplaces.inc
@@ -213,7 +213,6 @@ begin
if (ActionItem.flags and UAF_HKREGGED)=0 then
begin
FillChar(hkd,SizeOf(hkd),0);
- hkd.cbSize := SizeOf(hkd); // HOTKEYDESC_SIZE_V1 for pre-0.9
hkd.dwFlags := HKD_UNICODE; // since 0.9 only
hkd.pszName := ActionItem.szNameID;
hkd.pszDescription.w:= ActionItem.szActDescr;
@@ -232,7 +231,7 @@ procedure DeleteCoreHotkey(var ActionItem:tMyActionItem);
begin
if ((ActionItem.flags and UAF_HKREGGED)<>0) then
begin
- CallService(MS_HOTKEY_UNREGISTER,0,LParam(ActionItem.szNameID));
+ Hotkey_Unregister(ActionItem.szNameID);
ActionItem.flags:=ActionItem.flags and not UAF_HKREGGED;
end;
end;