From 62f0837b78032af98cbb470a75ddb72832f95639 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jun 2024 19:48:43 +0300 Subject: =?UTF-8?q?fixes=20#4500=20(History++:=20=D0=B5=D1=81=D0=BB=D0=B8?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D1=82=D0=BE=D0=BA=D0=BE=D0=BB=20=D0=BD?= =?UTF-8?q?=D0=B5=D0=B8=D0=B7=D0=B2=D0=B5=D1=81=D1=82=D0=B5=D0=BD,=20?= =?UTF-8?q?=D1=82=D0=BE=20=D0=BD=D0=B5=20=D1=81=D0=BB=D0=B5=D0=B4=D1=83?= =?UTF-8?q?=D0=B5=D1=82=20=D1=81=D1=87=D0=B8=D1=82=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B5=D0=B3=D0=BE=20ICQ)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/HistoryPlusPlus/GlobalSearch.pas | 4 ++-- plugins/HistoryPlusPlus/HistoryForm.pas | 2 +- plugins/HistoryPlusPlus/hpp_externalgrid.pas | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/GlobalSearch.pas b/plugins/HistoryPlusPlus/GlobalSearch.pas index ffc955e3b3..299b936790 100644 --- a/plugins/HistoryPlusPlus/GlobalSearch.pas +++ b/plugins/HistoryPlusPlus/GlobalSearch.pas @@ -573,8 +573,8 @@ var begin // wParam - hContact, lParam - 0 CurContact := M.wParam; - if CurContact = 0 then - CurProto := 'ICQ' + if CurContact <> 0 then + CurProto := '' else CurProto := Proto_GetBaseAccountName(CurContact); laProgress.Caption := Format(TranslateW('Searching "%s"...'), diff --git a/plugins/HistoryPlusPlus/HistoryForm.pas b/plugins/HistoryPlusPlus/HistoryForm.pas index b61f0f0827..bc752cfbc6 100644 --- a/plugins/HistoryPlusPlus/HistoryForm.pas +++ b/plugins/HistoryPlusPlus/HistoryForm.pas @@ -3007,7 +3007,7 @@ begin if FhContact = 0 then begin FhSubContact := 0; - FProtocol := 'ICQ'; + FProtocol := ''; FSubProtocol := FProtocol; end else diff --git a/plugins/HistoryPlusPlus/hpp_externalgrid.pas b/plugins/HistoryPlusPlus/hpp_externalgrid.pas index 5651b3d57e..70828902e0 100644 --- a/plugins/HistoryPlusPlus/hpp_externalgrid.pas +++ b/plugins/HistoryPlusPlus/hpp_externalgrid.pas @@ -555,7 +555,7 @@ begin begin if Items[Index].hContact = 0 then begin - Grid.Protocol := 'ICQ'; + Grid.Protocol := ''; FSubProtocol := Grid.Protocol; end else -- cgit v1.2.3