Do not use carriage return in translated strings

darcs-hash:20071028091145-75c98-fc211f29b5c96fa5e10cedd848dabb0a664a34b7.gz
This commit is contained in:
liljencrantz 2007-10-28 19:11:45 +10:00
parent a5156c54cb
commit 3f3fe634c8

View file

@ -708,11 +708,14 @@ static int completion_try_print( int cols,
set_color( FISH_COLOR_BLACK,
get_color(HIGHLIGHT_PAGER_PROGRESS) );
sb_printf( &msg,
_(L" %d to %d of %d \r"),
_(L" %d to %d of %d"),
pos,
pos+termsize.ws_row-1,
rows );
sb_printf( &msg,
L" \r" );
writestr((wchar_t *)msg.buff);
sb_destroy( &msg );
set_color( FISH_COLOR_NORMAL, FISH_COLOR_NORMAL );