Minor edits, whitespace fixes, etc.

darcs-hash:20061120131412-ac50b-0d9bc9d3fb35b4c9831bdf3a606e9aa8df844478.gz
This commit is contained in:
axel 2006-11-20 23:14:12 +10:00
parent bc1efb1556
commit 125ca9ff73
2 changed files with 9 additions and 9 deletions

View File

@ -1416,7 +1416,7 @@ static void handle_token_history( int forward, int reset )
else
{
debug( 3, L"new '%ls'", data->token_history_buff );
//debug( 3, L"new '%ls'", data->token_history_buff );
for( tok_init( &tok, data->token_history_buff, TOK_ACCEPT_UNFINISHED );
tok_has_next( &tok);
@ -1428,12 +1428,12 @@ static void handle_token_history( int forward, int reset )
{
if( wcsstr( tok_last( &tok ), data->search_buff ) )
{
debug( 3, L"Found token at pos %d\n", tok_get_pos( &tok ) );
//debug( 3, L"Found token at pos %d\n", tok_get_pos( &tok ) );
if( tok_get_pos( &tok ) >= current_pos )
{
break;
}
debug( 3, L"ok pos" );
//debug( 3, L"ok pos" );
if( !contains( tok_last( &tok ), &data->search_prev ) )
{

View File

@ -22,6 +22,6 @@ function __fish_print_help -d (N_ "Print help message for the specified fish fun
echo
# Filter and print help
printf "%s\n" $help| tail -n (expr $lines - 5 ) | head -n (expr $lines - 8) | sed $sed_cmd
printf "%s\n" $help| tail -n (expr $lines - 5) | head -n (expr $lines - 8) | sed $sed_cmd
end