diff --git a/main.pas b/main.pas index 1f27601..efae4a2 100644 --- a/main.pas +++ b/main.pas @@ -4174,11 +4174,11 @@ procedure Tmainfrm.add2log(lines:string; cd:TconnData=NIL; clr:Tcolor=Graphics.c if logFontSize > 0 then logBox.SelAttributes.size:=logFontSize; logBox.SelAttributes.Color:=clRed; -logBox.SelText:=ts+' '; +logBox.SelText:=ts+' '; if addr > '' then begin logBox.SelAttributes.Color:=ADDRESS_COLOR; - logBox.SelText:=addr+' '; + logBox.SelText:=addr+' '; end; logBox.SelAttributes.color:=clr; logBox.SelText:=first+CRLF; @@ -11258,7 +11258,7 @@ function Tmainfrm.ipPointedInLog():string; if pt.y >= logbox.lines.count then exit; s:=logbox.lines[pt.y]; -s:=reGet(s, '^\S+ +(\S+@)?(\S+):\d+ ', 2); +s:=reGet(s, '.+ (\S+@)?(\S+):\d+ ', 2); if checkAddressSyntax(s,FALSE) then result:=s; end; // ipPointedInLog