From 602eac89c4f446b46d9a4023b06f878f07c3abac Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 9 Jan 2007 12:53:56 +1000 Subject: [PATCH] Fix typo in user message, remove a few warnings, minor indentation edits darcs-hash:20070109025356-ac50b-328e42b8898bbc9b40b4841a032ae7871dba9e13.gz --- builtin.c | 16 ++++++++-------- input.c | 2 +- parser.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/builtin.c b/builtin.c index 5d8116d8f..7353c7a68 100644 --- a/builtin.c +++ b/builtin.c @@ -219,19 +219,19 @@ wchar_t *builtin_help_get( const wchar_t *name ) sb_printf( &cmd, L"__fish_print_help %ls", name_esc ); - exec_subshell( (wchar_t *)cmd.buff, &lst ); - - for( i=0; i= 0 ) + { + for( i=0; ibuff; } diff --git a/input.c b/input.c index 2e744cd02..d48cfb3ca 100644 --- a/input.c +++ b/input.c @@ -1678,7 +1678,7 @@ wint_t input_readch() int i; - CHECK_BLOCK(); + CHECK_BLOCK( R_NULL ); /* Clear the interrupted flag diff --git a/parser.c b/parser.c index 7cf0bf1f2..d80bbc9e9 100644 --- a/parser.c +++ b/parser.c @@ -130,7 +130,7 @@ The fish parser. Contains functions for parsing and evaluating code. /** Error when using return builtin outside of function definition */ -#define INVALID_RETURN_ERR_MSG _( L"'return' command command outside of function definition" ) +#define INVALID_RETURN_ERR_MSG _( L"'return' builtin command outside of function definition" ) /** Error when using else builtin outside of if block