mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 06:16:45 +02:00
A couple small fixes
This commit is contained in:
@ -308,7 +308,9 @@ void sort_friendlist_index(void)
|
||||
}
|
||||
}
|
||||
|
||||
qsort(Friends.index, Friends.num_friends, sizeof(uint32_t), index_name_cmp);
|
||||
if (Friends.num_friends > 0) {
|
||||
qsort(Friends.index, Friends.num_friends, sizeof(uint32_t), index_name_cmp);
|
||||
}
|
||||
}
|
||||
|
||||
static int index_name_cmp_block(const void *n1, const void *n2)
|
||||
|
Reference in New Issue
Block a user