Minor code edits (comments, function rename)

darcs-hash:20070421081122-ac50b-fdd497a6ff8a1d2507509f21a168c9130ed59ad7.gz
This commit is contained in:
axel 2007-04-21 18:11:22 +10:00
parent b4ccce2dc3
commit 4c858a10c9
2 changed files with 5 additions and 3 deletions

View file

@ -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 )

View file

@ -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 )