mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +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
|
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 *c= *((wchar_t **)a);
|
||||||
wchar_t *d= *((wchar_t **)b);
|
wchar_t *d= *((wchar_t **)b);
|
||||||
|
@ -226,7 +226,7 @@ void sort_list( array_list_t *comp )
|
||||||
qsort( comp->arr,
|
qsort( comp->arr,
|
||||||
al_get_count( comp ),
|
al_get_count( comp ),
|
||||||
sizeof( void*),
|
sizeof( void*),
|
||||||
&completion_cmp );
|
&str_cmp );
|
||||||
}
|
}
|
||||||
|
|
||||||
wchar_t *str2wcs( const char *in )
|
wchar_t *str2wcs( const char *in )
|
||||||
|
|
4
event.c
4
event.c
|
@ -614,7 +614,9 @@ void event_fire( event_t *event )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
Fire events triggered by signals
|
||||||
|
*/
|
||||||
event_fire_delayed();
|
event_fire_delayed();
|
||||||
|
|
||||||
if( event )
|
if( event )
|
||||||
|
|
Loading…
Reference in a new issue