SaveTool: make the update checker split on CRLF, not just LF.

Just in case...
This commit is contained in:
Guillaume Jacquemin 2022-11-25 17:34:42 +01:00
parent 4ea694ea6e
commit 07fca7b0d0
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void SaveTool::updateCheckEvent(SDL_Event& event) {
auto str = static_cast<char*>(event.user.data1);
Containers::String response{str, strlen(str), nullptr};
auto components = response.split('\n');
auto components = response.splitOnAnyWithoutEmptyParts("\r\n");
Version latest_ver{components.front()};