summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-01-04 14:51:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-01-04 14:51:21 +0000
commit89b08722d8006a0e6d3ef7183054cf00423ef4d0 (patch)
treee7bb0693f46ae9ceaaaca1420906f756e7421e10 /plugins/Actman
parentff07d666b5a73e94e54c39d8d9974f476d5de99f (diff)
unused calls of MS_HOTKEY_UNREGISTER removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/ua/i_uaplaces.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc
index 6ea5113bc8..e103793ab2 100644
--- a/plugins/Actman/ua/i_uaplaces.inc
+++ b/plugins/Actman/ua/i_uaplaces.inc
@@ -231,9 +231,7 @@ end;
procedure DeleteCoreHotkey(var ActionItem:tMyActionItem);
begin
- if // bCoreHotkeyPresents and
- // (ServiceExists(MS_HOTKEY_UNREGISTER)<>0) and
- ((ActionItem.flags and UAF_HKREGGED)<>0) then
+ if ((ActionItem.flags and UAF_HKREGGED)<>0) then
begin
CallService(MS_HOTKEY_UNREGISTER,0,LParam(ActionItem.szNameID));
ActionItem.flags:=ActionItem.flags and not UAF_HKREGGED;