Fix #11001: Rides list does not use natural sorting (#11007)

This commit is contained in:
Tulio Leao 2020-03-23 18:33:57 -03:00 committed by GitHub
parent e66a6754f5
commit 3e2533ac50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -41,6 +41,7 @@
- Fix: [#10904] RCT1/LL-scenarios with red water won't open.
- Fix: [#10941] The Clear Scenery tool gives refunds for ghost elements.
- Fix: [#10963] Light effects are drawn off-centre in some rotations.
- Fix: [#11001] Rides list does not use natural sorting
- Improved: [#682] The staff patrol area is now drawn on the water, instead of on the surface under water.
- Improved: [#10858] Added horizontal grid lines to finance charts.
- Improved: [#10884] Added y-axes and labels to park window charts.

View File

@ -21,6 +21,7 @@
#include <openrct2/localisation/Localisation.h>
#include <openrct2/network/network.h>
#include <openrct2/sprites.h>
#include <openrct2/util/Util.h>
#include <openrct2/windows/Intent.h>
#include <openrct2/world/Park.h>
@ -805,7 +806,7 @@ void window_ride_list_refresh_list(rct_window* w)
if (otherRide != nullptr)
{
auto strB = otherRide->GetName();
if (_strcmpi(strA.c_str(), strB.c_str()) >= 0)
if (strlogicalcmp(strA.c_str(), strB.c_str()) >= 0)
break;
window_bubble_list_item(w, current_list_position);