mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Minor code edits (comments, function rename)
darcs-hash:20070421081122-ac50b-fdd497a6ff8a1d2507509f21a168c9130ed59ad7.gz
This commit is contained in:
parent
b4ccce2dc3
commit
4c858a10c9
2 changed files with 5 additions and 3 deletions
4
common.c
4
common.c
|
@ -214,7 +214,7 @@ int fgetws2( wchar_t **b, int *len, FILE *f )
|
|||
/**
|
||||
Wrapper for wcsfilecmp
|
||||
*/
|
||||
static int completion_cmp( const void *a, const void *b )
|
||||
static int str_cmp( const void *a, const void *b )
|
||||
{
|
||||
wchar_t *c= *((wchar_t **)a);
|
||||
wchar_t *d= *((wchar_t **)b);
|
||||
|
@ -226,7 +226,7 @@ void sort_list( array_list_t *comp )
|
|||
qsort( comp->arr,
|
||||
al_get_count( comp ),
|
||||
sizeof( void*),
|
||||
&completion_cmp );
|
||||
&str_cmp );
|
||||
}
|
||||
|
||||
wchar_t *str2wcs( const char *in )
|
||||
|
|
4
event.c
4
event.c
|
@ -614,7 +614,9 @@ void event_fire( event_t *event )
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
/*
|
||||
Fire events triggered by signals
|
||||
*/
|
||||
event_fire_delayed();
|
||||
|
||||
if( event )
|
||||
|
|
Loading…
Reference in a new issue