summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 081c2d82a..90663f72d 100644
--- a/unix.c
+++ b/unix.c
@@ -43,7 +43,7 @@ int compare_FiosItems (const void *a, const void *b) {
int r;
if (_savegame_sort_order < 2) // sort by date
- r = da->mtime < db->mtime ? 1 : -1;
+ r = da->mtime < db->mtime ? -1 : 1;
else
r = strcmp(da->title[0] ? da->title : da->name, db->title[0] ? db->title : db->name);