aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-14 11:58:01 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-14 11:58:01 +1000
commit1562b8148d344a94335032e0e5d6402c9a2dd7e3 (patch)
tree7d994c94ff9dae679b704a3174d4a5533ba50352 /builtin.c
parentd7b659d8e8365229cd357711bdc44b860e3f9163 (diff)
Make sure functions as printed by the fyunctions builtin don't have any stray empty lines
darcs-hash:20060114015801-ac50b-135fb66cf74a9cd51f6d52e2eff12c55042e4183.gz
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 34127c57..4f4308b4 100644
--- a/builtin.c
+++ b/builtin.c
@@ -720,6 +720,7 @@ static void functions_def( wchar_t *name )
def,
L"\nend\n\n",
(void *)0);
+
}
@@ -2339,7 +2340,7 @@ static int builtin_fg( wchar_t **argv )
int pid = abs(wcstol( argv[1], 0, 10 ));
j = job_get_from_pid( pid );
sb_printf( sb_err,
- _( "%ls: No suitable job: %d\n" ),
+ _( L"%ls: No suitable job: %d\n" ),
argv[0],
pid );
builtin_print_help( argv[0], sb_err );
@@ -3332,7 +3333,6 @@ void builtin_get_names( array_list_t *list )
const wchar_t *builtin_get_desc( const wchar_t *b )
{
- wchar_t *res;
if( !desc )
{