diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-14 06:11:21 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-14 06:11:21 +0100 |
| commit | 339b4a488d445fd355d8c6d848d12ba2587e9fc2 (patch) | |
| tree | d349fdd8f726ce8e0cfcd8709ddc3e2f9fb4b14c /src/main.c | |
| parent | f17b691fb70ec73b9413e91d881b9dcb3ffdfa2c (diff) | |
pnoc_sort() implemented.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
