summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index efa9ffa00..44fc97e78 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1123,7 +1123,7 @@ static void MakeSortedSaveGameList(void)
}
s_amount = _fios_num - sort_start - sort_end;
- if ((bool)s_amount)
+ if (s_amount > 0)
qsort(_fios_list + sort_start, s_amount, sizeof(FiosItem), compare_FiosItems);
}