summaryrefslogtreecommitdiff
path: root/ui/check_version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/check_version.cpp')
-rw-r--r--ui/check_version.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/check_version.cpp b/ui/check_version.cpp
index c9d2049d..922708c7 100644
--- a/ui/check_version.cpp
+++ b/ui/check_version.cpp
@@ -68,7 +68,7 @@ public:
if (statusCode != HTTP_STATUS_OK)
throw InternetConnectionError(); //e.g. 404 - HTTP_STATUS_NOT_FOUND
- guardRequest.dismiss();
+ guardRequest .dismiss();
guardInternet.dismiss();
}
@@ -113,10 +113,7 @@ bool canAccessUrl(const wchar_t* url) //throw ()
(void)WinInetAccess(url); //throw InternetConnectionError
return true;
}
- catch (const InternetConnectionError&)
- {
- return false;
- }
+ catch (const InternetConnectionError&) { return false; }
}
bgstack15