Smaller edits

darcs-hash:20060124181410-ac50b-4ec9e2990852a678de7d47a565ed41780b5279fc.gz
This commit is contained in:
axel 2006-01-25 04:14:10 +10:00
parent 452558624c
commit 18d06cf10f
2 changed files with 9 additions and 20 deletions

View file

@ -277,14 +277,10 @@ static int builtin_block( wchar_t **argv )
;
int scope=UNSET;
int erase = 0;
int argc=builtin_count_args( argv );
int type = (1<<EVENT_ANY);
woptind=0;
const static struct woption
@ -645,7 +641,7 @@ static int builtin_exec( wchar_t **argv )
}
/**
Print the definitions of the given function to sb_out
Print the definition of the given function to sb_out
stringbuffer. Used by the functions builtin.
*/
static void functions_def( wchar_t *name )
@ -932,7 +928,6 @@ static int builtin_functions( wchar_t **argv )
for( i=0; i<al_get_count( &names ); i++ )
{
functions_def( names_arr[i] );
}
free( names_arr );
al_destroy( &names );
@ -941,7 +936,6 @@ static int builtin_functions( wchar_t **argv )
default:
{
for( i=woptind; i<argc; i++ )
{
if( !function_exists( argv[i] ) )
@ -952,13 +946,11 @@ static int builtin_functions( wchar_t **argv )
}
}
break;
}
}
return res;
}
/**
@ -966,8 +958,6 @@ static int builtin_functions( wchar_t **argv )
*/
static int wcsbindingname( wchar_t *str )
{
while( *str )
{
if( (!iswalnum(*str)) && (*str != L'-' ) )
@ -1066,7 +1056,6 @@ static int builtin_function( wchar_t **argv )
res = 1;
break;
case 'd':
desc=woptarg;
break;

2
env.c
View file

@ -305,7 +305,7 @@ static void handle_locale()
++_nl_msg_cat_cntr;
}
#elif HAVE_DCGETTEXT
dcgettext("fish","",LC_MESSAGES);
dcgettext("fish","Changing language to English",LC_MESSAGES);
#endif
if( is_interactive )