SaveTool: update formatting.

This commit is contained in:
Guillaume Jacquemin 2022-03-31 18:43:39 +02:00
parent 0e3e3145b7
commit a36d9134bf

View file

@ -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;
} }