Skip to content

Commit a16aded

Browse files
committed
fixup! FSUI: Use locale sensitive sort for game list
1 parent 49e85df commit a16aded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ctest/core/StubHost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ int Host::LocaleSensitiveCompare(std::string_view lhs, std::string_view rhs)
276276
int res = std::strncmp(lhs, rhs, std::min(lhs.size(), rhs.size()));
277277
if (res != 0)
278278
return res;
279-
return lhs.size() > rhs.size() ? 1 : lhs.size() < rhs.size ? -1 : 0;
279+
return lhs.size() > rhs.size() ? 1 : lhs.size() < rhs.size() ? -1 : 0;
280280
}
281281

282282
std::optional<u32> InputManager::ConvertHostKeyboardStringToCode(const std::string_view str)

0 commit comments

Comments
 (0)