diff options
Diffstat (limited to 'src/hand.c')
| -rw-r--r-- | src/hand.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,5 +14,6 @@ static int hand_comparator(const void *a, const void *b) void hand_sort(hand_t *h) { assert(h != NULL); + qsort(h->cards, MAX_HAND_CARDS, sizeof(card), hand_comparator); } |
