diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Actman/ua/i_uaplaces.inc | 4 | ||||
-rw-r--r-- | plugins/Actman30/ua/i_uaplaces.inc | 8 | ||||
-rw-r--r-- | plugins/QuickSearch/sr_global.pas | 4 | ||||
-rw-r--r-- | plugins/Watrack/popup/popups.pas | 2 | ||||
-rw-r--r-- | plugins/Watrack/status/status.pas | 2 | ||||
-rw-r--r-- | plugins/Watrack/templates/i_expkey.inc | 2 | ||||
-rw-r--r-- | plugins/mRadio/i_hotkey.inc | 38 |
7 files changed, 30 insertions, 30 deletions
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc index 9ee2a79b0c..806cbe302c 100644 --- a/plugins/Actman/ua/i_uaplaces.inc +++ b/plugins/Actman/ua/i_uaplaces.inc @@ -224,8 +224,8 @@ 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.cbSize := SizeOf(hkd);
+ hkd.dwFlags := HKD_UNICODE;
hkd.pszName := ActionItem.szNameID;
hkd.pszDescription.w:= ActionItem.szActDescr;
hkd.pszSection .w:= MODULE_NAME;
diff --git a/plugins/Actman30/ua/i_uaplaces.inc b/plugins/Actman30/ua/i_uaplaces.inc index 0b8ee9468d..bbd6571aaa 100644 --- a/plugins/Actman30/ua/i_uaplaces.inc +++ b/plugins/Actman30/ua/i_uaplaces.inc @@ -225,8 +225,8 @@ 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.cbSize := SizeOf(hkd);
+ hkd.dwFlags := HKD_UNICODE;
hkd.pszName := ActionItem.szNameID;
hkd.pszDescription.w:= ActionItem.szActDescr;
hkd.pszSection .w:= MODULE_NAME;
@@ -626,8 +626,8 @@ begin if ActionItem.szTTBTooltip =nil then
pc1:=pc
else pc1:=ActionItem.szTTBTooltip;
-
- if ((ActionItem.flags and UAF_2STATE)=0) or
+
+ if ((ActionItem.flags and UAF_2STATE)=0) or
(ActionItem.szTTBTooltipPressed=nil) then
pc2:=pc1
else
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas index 76d9b08de7..fe6a0864e2 100644 --- a/plugins/QuickSearch/sr_global.pas +++ b/plugins/QuickSearch/sr_global.pas @@ -121,7 +121,7 @@ type flags :dword; // QSO_* options
end;
-
+
procedure reghotkeys;
procedure unreghotkeys;
@@ -198,7 +198,7 @@ begin FillChar(hkrec,SizeOf(hkrec),0);
with hkrec do
begin
- cbSize :=HOTKEYDESC_SIZE_V1;
+ cbSize :=SizeOf(hkrec);
pszName :=HKN_GLOBAL;
pszDescription.a:='QuickSearch window hotkey';
pszSection.a :=qs_name;
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas index b671c60346..f22a9c44bd 100644 --- a/plugins/Watrack/popup/popups.pas +++ b/plugins/Watrack/popup/popups.pas @@ -319,7 +319,7 @@ begin FillChar(hkrec,SizeOf(hkrec),0);
with hkrec do
begin
- cbSize :=HOTKEYDESC_SIZE_V1;
+ cbSize :=SizeOf(hkrec);
pszName :=HKN_POPUP;
pszDescription.a:='WATrack popup hotkey';
pszSection.a :=PluginName;
diff --git a/plugins/Watrack/status/status.pas b/plugins/Watrack/status/status.pas index 1ffbeb6b84..0bdc7cdcb5 100644 --- a/plugins/Watrack/status/status.pas +++ b/plugins/Watrack/status/status.pas @@ -22,7 +22,7 @@ begin FillChar(hkrec,SizeOf(hkrec),0);
with hkrec do
begin
- cbSize :=HOTKEYDESC_SIZE_V1;
+ cbSize :=SizeOf(hkrec);
pszName :=HKN_INSERT;
pszDescription.a:='Global WATrack hotkey';
pszSection.a :=PluginName;
diff --git a/plugins/Watrack/templates/i_expkey.inc b/plugins/Watrack/templates/i_expkey.inc index f6594acebb..960fd1a43e 100644 --- a/plugins/Watrack/templates/i_expkey.inc +++ b/plugins/Watrack/templates/i_expkey.inc @@ -22,7 +22,7 @@ begin FillChar(hkrec,SizeOf(hkrec),0);
with hkrec do
begin
- cbSize :=HOTKEYDESC_SIZE_V1;
+ cbSize :=SizeOf(hkrec);
pszName :=HKN_EXPORT;
pszDescription.a:='WATrack data insert hotkey';
pszSection.a :=PluginName;
diff --git a/plugins/mRadio/i_hotkey.inc b/plugins/mRadio/i_hotkey.inc index 44e4910699..380c714623 100644 --- a/plugins/mRadio/i_hotkey.inc +++ b/plugins/mRadio/i_hotkey.inc @@ -30,33 +30,33 @@ begin FillChar(hkrec,SizeOf(hkrec),0);
- hkrec.cbSize :=HOTKEYDESC_SIZE_V1;
- hkrec.pszSection.a :=PluginName;
- hkrec.pszService :=MS_RADIO_HOTKEY;
+ hkrec.cbSize := SizeOf(hkrec);
+ hkrec.pszSection.a := PluginName;
+ hkrec.pszService := MS_RADIO_HOTKEY;
- hkrec.DefHotKey :=DefRadioKeyPlay;
- hkrec.pszName :=HKN_PLAYPAUSE;
- hkrec.pszDescription.a:='Play/Pause';
- hkrec.lParam :=MRC_PAUSE;
+ hkrec.DefHotKey := DefRadioKeyPlay;
+ hkrec.pszName := HKN_PLAYPAUSE;
+ hkrec.pszDescription.a:= 'Play/Pause';
+ hkrec.lParam := MRC_PAUSE;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
- hkrec.DefHotKey :=DefRadioKeyStop;
- hkrec.pszName :=HKN_STOP;
- hkrec.pszDescription.a:='Stop';
- hkrec.lParam :=MRC_STOP;
+ hkrec.DefHotKey := DefRadioKeyStop;
+ hkrec.pszName := HKN_STOP;
+ hkrec.pszDescription.a:= 'Stop';
+ hkrec.lParam := MRC_STOP;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
- hkrec.DefHotKey :=DefRadioKeyMute;
- hkrec.pszName :=HKN_MUTE;
- hkrec.pszDescription.a:='Mute';
- hkrec.lParam :=MRC_MUTE;
+ hkrec.DefHotKey := DefRadioKeyMute;
+ hkrec.pszName := HKN_MUTE;
+ hkrec.pszDescription.a:= 'Mute';
+ hkrec.lParam := MRC_MUTE;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
//??
- hkrec.DefHotKey :=DefRadioKeyRecord;
- hkrec.pszName :=HKN_RECORD;
- hkrec.pszDescription.a:='Start/Stop Record';
- hkrec.lParam :=MRC_RECORD;
+ hkrec.DefHotKey := DefRadioKeyRecord;
+ hkrec.pszName := HKN_RECORD;
+ hkrec.pszDescription.a:= 'Start/Stop Record';
+ hkrec.lParam := MRC_RECORD;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
end;
|