Skip to content

Commit

Permalink
[1.2.4] Fix bug in comparison function to sort list (compare_plist())
Browse files Browse the repository at this point in the history
  • Loading branch information
michiguel committed Apr 19, 2016
1 parent 6364cb7 commit 551f8f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion encount.c
Expand Up @@ -328,7 +328,7 @@ static int compare_plist (const void * a, const void * b)
{
const player_t *ap = a;
const player_t *bp = b;
return *ap == *bp? 0: *ap > *bp;
return *ap > *bp? 1: (*ap < *bp? -1: 0);
}

static player_t
Expand Down
2 changes: 1 addition & 1 deletion version.h
@@ -1,2 +1,2 @@
#define VERSION "1.2.3"
#define VERSION "1.2.4"

2 changes: 1 addition & 1 deletion version.txt
@@ -1 +1 @@
1.2.3
1.2.4

0 comments on commit 551f8f7

Please sign in to comment.