* source/rtl/console.c

! Fix print in the same line when the new position is previus
      to the current one.
This commit is contained in:
Walter Negro
2002-05-24 04:40:14 +00:00
parent 352d1ea388
commit 4641fe9730

View File

@@ -403,6 +403,12 @@ static void hb_conDevPos( SHORT iRow, SHORT iCol )
uiPcol += hb_set.HB_SET_MARGIN;
if( ( uiProw == s_uiPRow ) && ( uiPcol < s_uiPCol ) )
{
hb_fsWrite( hb_set.hb_set_printhan, ( BYTE * ) "\x0D", 1 );
s_uiPCol = 0;
}
for( uiCount = s_uiPCol; uiCount < uiPcol; uiCount++ )
hb_fsWrite( hb_set.hb_set_printhan, ( BYTE * ) " ", 1 );