From 6fad3235de6bec045fec19a7265e19e880ac84e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jul 2017 17:30:39 +0300 Subject: Hotkeys: code cleaning --- include/delphi/m_helpers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/delphi/m_helpers.inc') diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index dd81e8e534..d5160da04c 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -333,7 +333,7 @@ end; function Hotkey_Register(hk:PHOTKEYDESC):int_ptr; begin - result:=CallService(MS_HOTKEY_REGISTER, hLangpack, LPARAM(hk)); + result:=_Hotkey_Register(hk, hLangpack); end; function Skin_AddIcon(si:PSKINICONDESC):THANDLE; -- cgit v1.2.3