SaveTool: make the update checker split on CRLF, not just LF.
Just in case...
This commit is contained in:
parent
4ea694ea6e
commit
07fca7b0d0
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ void SaveTool::updateCheckEvent(SDL_Event& event) {
|
||||||
|
|
||||||
auto str = static_cast<char*>(event.user.data1);
|
auto str = static_cast<char*>(event.user.data1);
|
||||||
Containers::String response{str, strlen(str), nullptr};
|
Containers::String response{str, strlen(str), nullptr};
|
||||||
auto components = response.split('\n');
|
auto components = response.splitOnAnyWithoutEmptyParts("\r\n");
|
||||||
|
|
||||||
Version latest_ver{components.front()};
|
Version latest_ver{components.front()};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue