mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-24 17:16:46 -04:00
Use glib qsort as qsort is not portable.
This commit is contained in:
parent
9b83c6133f
commit
dc356d81c4
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ static void menu_refilter ( MenuState *state, char **lines, menu_match_cb mmc, v
|
|||
}
|
||||
}
|
||||
if ( sorting ) {
|
||||
qsort_r ( state->line_map, j, sizeof ( int ), lev_sort, state->distance );
|
||||
g_qsort_with_data ( state->line_map, j, sizeof ( int ), lev_sort, state->distance );
|
||||
}
|
||||
|
||||
// Cleanup + bookkeeping.
|
||||
|
|
Loading…
Add table
Reference in a new issue