From: John Hodge Date: Wed, 23 Sep 2009 08:21:54 +0000 (+0800) Subject: Fixed bug in VT_int_ClearLine and removed debug X-Git-Tag: rel0.06~527 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e65e6d063e88824bef125f9a08e9120b5ab4d97f;p=tpg%2Facess2.git Fixed bug in VT_int_ClearLine and removed debug --- diff --git a/Kernel/drv/vterm.c b/Kernel/drv/vterm.c index bf518c50..2cdd84ff 100644 --- a/Kernel/drv/vterm.c +++ b/Kernel/drv/vterm.c @@ -363,13 +363,13 @@ void VT_int_PutString(tVTerm *Term, Uint8 *Buffer, Uint Count) void VT_int_ClearLine(tVTerm *Term, int Num) { int i; - ENTER("pTerm iNum", Term, Num); - for( i = Term->Width; i++; ) + //ENTER("pTerm iNum", Term, Num); + for( i = Term->Width; i--; ) { Term->Text[ Num*Term->Width + i ].Ch = 0; Term->Text[ Num*Term->Width + i ].Colour = Term->CurColour; } - LEAVE('-'); + //LEAVE('-'); } /**