Minor fixes
This commit is contained in:
parent
b1f05b204f
commit
9292249228
|
@ -371,7 +371,7 @@ Procedure SnoopNode (Node: Byte);
|
||||||
Var
|
Var
|
||||||
Pipe : TPipe;
|
Pipe : TPipe;
|
||||||
Buffer : Array[1..4 * 1024] of Char;
|
Buffer : Array[1..4 * 1024] of Char;
|
||||||
BufRead : LongWord;
|
BufRead : LongInt;
|
||||||
Update : LongInt;
|
Update : LongInt;
|
||||||
|
|
||||||
Procedure DrawStatus;
|
Procedure DrawStatus;
|
||||||
|
@ -396,13 +396,13 @@ Var
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
ShowMsgBox (3, 'Requesting snoop session for node ' + strI2S(Node));
|
ShowMsgBox (2, 'Requesting snoop session for node ' + strI2S(Node));
|
||||||
|
|
||||||
SendNodeMessage(Node, 11);
|
SendNodeMessage(Node, 11);
|
||||||
|
|
||||||
Pipe := TPipe.Create(Config.DataPath, True, Node);
|
Pipe := TPipe.Create(Config.DataPath, True, Node);
|
||||||
|
|
||||||
If Not Pipe.ConnectPipe(800) Then Begin
|
If Not Pipe.ConnectPipe(600) Then Begin
|
||||||
ShowMsgBox (0, 'Unable to establish a session. Try again');
|
ShowMsgBox (0, 'Unable to establish a session. Try again');
|
||||||
Pipe.Free;
|
Pipe.Free;
|
||||||
Exit;
|
Exit;
|
||||||
|
|
|
@ -283,7 +283,6 @@ Begin
|
||||||
List := TMenuList.Create(Screen);
|
List := TMenuList.Create(Screen);
|
||||||
|
|
||||||
List.NoWindow := True;
|
List.NoWindow := True;
|
||||||
List.AllowTag := False;
|
|
||||||
List.LoAttr := 7;
|
List.LoAttr := 7;
|
||||||
List.HiAttr := 9 + 1 * 16;
|
List.HiAttr := 9 + 1 * 16;
|
||||||
List.LoChars := #13#27;
|
List.LoChars := #13#27;
|
||||||
|
|
Loading…
Reference in New Issue