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 --- plugins/Watrack/templates/i_expkey.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Watrack/templates/i_expkey.inc') diff --git a/plugins/Watrack/templates/i_expkey.inc b/plugins/Watrack/templates/i_expkey.inc index fd990cda31..c8e589609f 100644 --- a/plugins/Watrack/templates/i_expkey.inc +++ b/plugins/Watrack/templates/i_expkey.inc @@ -22,13 +22,11 @@ begin FillChar(hkrec,SizeOf(hkrec),0); with hkrec do begin - cbSize :=SizeOf(hkrec); pszName :=HKN_EXPORT; pszDescription.a:='WATrack data insert hotkey'; pszSection.a :=PluginName; pszService :=MS_WAT_EXPORT; DefHotKey :=((HOTKEYF_ALT or HOTKEYF_SHIFT) shl 8) or VK_F7; -// lParam :=0; end; - CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec)); + Hotkey_Register(@hkrec); end; -- cgit v1.2.3