Fix logical sort

This commit is contained in:
Duncan 2020-10-09 19:59:43 +01:00 committed by GitHub
parent 197bb897bb
commit e23c1cded7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
- Fix: [#13074] Entrance and exit ghosts for mazes not being removed.
- Fix: [#13083] Dialog for renaming conflicting track design crops text out.
- Fix: [#13129] Missing error message when waiting for train to leave station on the ride measurements graph.
- Fix: [#13138] Fix logical sorting of list windows.
- Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
0.3.1 (2020-09-27)

View File

@ -333,8 +333,8 @@ int32_t strlogicalcmp(const char* s1, const char* s2)
return -1;
else if (!(isdigit(*s1) && isdigit(*s2)))
{
if (tolower(*s1) != tolower(*s2))
return tolower(*s1) - tolower(*s2);
if (toupper(*s1) != toupper(*s2))
return toupper(*s1) - toupper(*s2);
else
{
++s1;