diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-09 14:21:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-09 14:21:27 +0300 |
commit | b407cbb7ad5cf00f0420fd91b82969ffcbaba5b5 (patch) | |
tree | a41810987998a975f5f55129ea1c7a24c101a333 /plugins | |
parent | 56c7db121764e073486f4a48a13ff4a214fe222f (diff) |
unused header removed from pascal sources
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Watrack/proto/proto.pas | 2 | ||||
-rw-r--r-- | plugins/mRadio/mradio.dpr | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas index f5f47617ae..238e9e39de 100644 --- a/plugins/Watrack/proto/proto.pas +++ b/plugins/Watrack/proto/proto.pas @@ -322,7 +322,7 @@ procedure SetProtocol; var
desc:TPROTOCOLDESCRIPTOR;
begin
- desc.cbSize:=PROTOCOLDESCRIPTOR_V3_SIZE;//SizeOf(desc);
+ desc.cbSize:=SizeOf(desc);
desc.szName:=PluginShort;
desc._type :=PROTOTYPE_TRANSLATION;
Proto_RegisterModule(@desc);
diff --git a/plugins/mRadio/mradio.dpr b/plugins/mRadio/mradio.dpr index c23ec983fa..71670e1947 100644 --- a/plugins/mRadio/mradio.dpr +++ b/plugins/mRadio/mradio.dpr @@ -162,8 +162,7 @@ begin Langpack_register;
// register protocol
- FillChar(desc,SizeOf(desc),0);
- desc.cbSize:=PROTOCOLDESCRIPTOR_V3_SIZE;//SizeOf(desc);
+ desc.cbSize:=SizeOf(desc);
desc.szName:=PluginName;
desc._type :=PROTOTYPE_VIRTUAL;
Proto_RegisterModule(@desc);
|