SaveTool: update formatting.

This commit is contained in:
Guillaume Jacquemin 2022-03-31 18:43:39 +02:00
parent 0e3e3145b7
commit a36d9134bf
1 changed files with 1 additions and 2 deletions

View File

@ -903,12 +903,11 @@ inline auto writeData(char* ptr, std::size_t size, std::size_t nmemb, Containers
}
void SaveTool::checkForUpdates() {
auto curl = curl_easy_init();
SDL_Event event;
SDL_zero(event);
event.type = _updateEventId;
auto curl = curl_easy_init();
if(!curl) {
event.user.code = CurlInitFailed;
}