hedgewars/uConsole.pas
changeset 7151 ec15d9e1a7e3
parent 7134 beb16926ae5c
child 8437 93b647d6a00f
equal deleted inserted replaced
7148:c7ee9592c9a1 7151:ec15d9e1a7e3
    83 procedure WriteLnToConsole(s: shortstring);
    83 procedure WriteLnToConsole(s: shortstring);
    84 begin
    84 begin
    85 {$IFNDEF NOCONSOLE}
    85 {$IFNDEF NOCONSOLE}
    86 WriteToConsole(s);
    86 WriteToConsole(s);
    87 {$IFNDEF ANDROID}
    87 {$IFNDEF ANDROID}
    88 WriteLn(stderr);
    88 WriteLn(stderr, '');
    89 inc(CurrLine);
    89 inc(CurrLine);
    90 if CurrLine = cLinesCount then
    90 if CurrLine = cLinesCount then
    91     CurrLine:= 0;
    91     CurrLine:= 0;
    92 PByte(@ConsoleLines[CurrLine].s)^:= 0
    92 PByte(@ConsoleLines[CurrLine].s)^:= 0
    93 {$ENDIF}
    93 {$ENDIF}