debugger: fixed passing LineEnding to the debugger (bug #10975)

git-svn-id: trunk@14466 -
This commit is contained in:
vincents 2008-03-08 12:14:40 +00:00
parent ebf62785c6
commit c01797e7b0

View File

@ -384,7 +384,7 @@ begin
// store LineEnding in local variable, so the same statement can be used
// for windows and *nix (1 or 2 character line ending)
LE := LineEnding;
FDbgProcess.Input.Write(LE, Length(LE));
FDbgProcess.Input.Write(LE[1], Length(LE));
end
else begin
DebugLn('[TCmdLineDebugger.SendCmdLn] Unable to send <', ACommand, '>. No process running.');