SaveTool: update formatting.
This commit is contained in:
parent
0e3e3145b7
commit
a36d9134bf
1 changed files with 1 additions and 2 deletions
|
@ -903,12 +903,11 @@ inline auto writeData(char* ptr, std::size_t size, std::size_t nmemb, Containers
|
||||||
}
|
}
|
||||||
|
|
||||||
void SaveTool::checkForUpdates() {
|
void SaveTool::checkForUpdates() {
|
||||||
auto curl = curl_easy_init();
|
|
||||||
|
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
SDL_zero(event);
|
SDL_zero(event);
|
||||||
event.type = _updateEventId;
|
event.type = _updateEventId;
|
||||||
|
|
||||||
|
auto curl = curl_easy_init();
|
||||||
if(!curl) {
|
if(!curl) {
|
||||||
event.user.code = CurlInitFailed;
|
event.user.code = CurlInitFailed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue