Fixed the code style a little.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 13 Feb 2015 21:15:26 +0000 (22:15 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 13 Feb 2015 21:15:26 +0000 (22:15 +0100)
src/main.c

index 5438ee5..1fe02d5 100644 (file)
@@ -1244,11 +1244,9 @@ static gboolean navigation_decision_requested_cb(WebKitWebView *view,
     char *uri;
     SoupMessage *msg = webkit_network_request_get_message(request);
 
-    /*
-     * manually reload the page for HSTS only when it occurs in
-     * the main-frame. the others cases are covered by requeueing.
-     */
-    if ( webkit_web_view_get_main_frame(view) == frame ) {
+    /* manually reload the page for HSTS only when it occurs in
+     * the main-frame. the others cases are covered by requeueing. */
+    if (webkit_web_view_get_main_frame(view) == frame) {
         uri = hsts_get_changed_uri(vb.session, msg);
         if (uri) {
             webkit_web_frame_load_uri(frame, uri);