summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-14 06:11:21 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-14 06:11:21 +0100
commit339b4a488d445fd355d8c6d848d12ba2587e9fc2 (patch)
treed349fdd8f726ce8e0cfcd8709ddc3e2f9fb4b14c /src/main.c
parentf17b691fb70ec73b9413e91d881b9dcb3ffdfa2c (diff)
pnoc_sort() implemented.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1861185..87c7209 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,7 +10,7 @@ int main(int argc, char **argv)
// The stack points window uses ts, too, so there is no separate data set
// Example data set for current state window
- const player_name_open_card_tuple pnoc[10] = {
+ pnoc_t pnoc[10] = {
{"$you", 10},
{"1234567890", 23},
{"baz", 38},
@@ -22,6 +22,7 @@ int main(int argc, char **argv)
{"hornoxe", 33},
{"1337nick", 74}
};
+ pnoc_sort(pnoc, 10);
const uint8_t num_players = 10;
const uint32_t score = 10;