diff options
author | axel <axel@liljencrantz.se> | 2007-04-21 18:11:22 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-04-21 18:11:22 +1000 |
commit | 4c858a10c9bfa3fc4f6b555f02066137a3bcd277 (patch) | |
tree | d08edea9b72946b0b32680a9575ba9da0a4320c7 /common.c | |
parent | b4ccce2dc386c6e6c5913a7745ba1a274b88bdac (diff) |
Minor code edits (comments, function rename)
darcs-hash:20070421081122-ac50b-fdd497a6ff8a1d2507509f21a168c9130ed59ad7.gz
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ) |