diff options
-rw-r--r-- | src/fios.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index 30a505ef7..9153c53f1 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -57,7 +57,7 @@ bool FiosItem::operator< (const FiosItem &other) const if ((_savegame_sort_order & SORT_BY_NAME) == 0 && (*this).mtime != other.mtime) { r = (*this).mtime - other.mtime; } else { - r = strcasecmp((*this).title, other.title); + r = strnatcmp((*this).title, other.title); } if (r == 0) return false; return (_savegame_sort_order & SORT_DESCENDING) ? r > 0 : r < 0; |