(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
This commit is contained in:
@@ -323,7 +323,7 @@ class NetworkContentListWindow : public Window, ContentCallback {
|
||||
/** Sort content by name. */
|
||||
static int CDECL NameSorter(const ContentInfo * const *a, const ContentInfo * const *b)
|
||||
{
|
||||
return strnatcmp((*a)->name, (*b)->name); // Sort by name (natural sorting).
|
||||
return strnatcmp((*a)->name, (*b)->name, true); // Sort by name (natural sorting).
|
||||
}
|
||||
|
||||
/** Sort content by type. */
|
||||
|
Reference in New Issue
Block a user