diff --git a/common.c b/common.c index 5ea8ceddf..dfbd67feb 100644 --- a/common.c +++ b/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 ) diff --git a/event.c b/event.c index 4685c6aa3..721495374 100644 --- a/event.c +++ b/event.c @@ -614,7 +614,9 @@ void event_fire( event_t *event ) } else { - + /* + Fire events triggered by signals + */ event_fire_delayed(); if( event )