summaryrefslogtreecommitdiff
path: root/src/hand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hand.c')
-rw-r--r--src/hand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hand.c b/src/hand.c
index 3f8c8ff..42ecc05 100644
--- a/src/hand.c
+++ b/src/hand.c
@@ -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);
}