mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
Remove redundant ctrl-c enable and disable.
This commit is contained in:
parent
359d23e595
commit
e945c65255
@ -74,10 +74,7 @@ Begin
|
||||
IntToStr(GetLastError),0,0);
|
||||
{$endif Windows}
|
||||
{$ifdef go32v2}
|
||||
if djgpp_set_ctrl_c(false) then
|
||||
ConsoleMode:=1
|
||||
else
|
||||
ConsoleMode:=0;
|
||||
ConsoleMode:=0;
|
||||
{$endif go32v2}
|
||||
{$ifdef netware}
|
||||
ConsoleMode:=0;
|
||||
@ -94,9 +91,6 @@ Begin
|
||||
DebugMessage('','Call to SetConsoleMode failed, GetLastError='+
|
||||
IntToStr(GetLastError),0,0);
|
||||
{$endif Windows}
|
||||
{$ifdef go32v2}
|
||||
djgpp_set_ctrl_c((ConsoleMode and 1)<>0);
|
||||
{$endif go32v2}
|
||||
End;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user