mirror of https://gitlab.com/basile.b/dexed.git
removed invalid cmp
This commit is contained in:
parent
8b880edddf
commit
750a8761b9
|
@ -6,7 +6,7 @@ interface
|
|||
|
||||
uses
|
||||
|
||||
Classes, SysUtils, strutils,
|
||||
Classes, SysUtils,
|
||||
{$IFDEF WINDOWS}
|
||||
Windows, JwaTlHelp32,
|
||||
{$ELSE}
|
||||
|
|
|
@ -117,7 +117,7 @@ procedure TCEProcInputWidget.sendInput;
|
|||
var
|
||||
inp: string;
|
||||
begin
|
||||
if fProc.Input.isNil or (fProc.Input.Handle = INVALID_HANDLE_VALUE) then
|
||||
if fProc.Input.isNil or (fProc.Input.Handle = 0) then
|
||||
exit;
|
||||
|
||||
fMru.Insert(0,txtInp.Text);
|
||||
|
@ -139,7 +139,7 @@ end;
|
|||
procedure TCEProcInputWidget.btnCloseClick(Sender: TObject);
|
||||
begin
|
||||
if fProc.isNotNil and fProc.Input.isNotNil and
|
||||
(fProc.Input.Handle <> INVALID_HANDLE_VALUE) then
|
||||
(fProc.Input.Handle <> 0) then
|
||||
fProc.CloseInput;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue