]> spindle.queued.net Git - midori/commitdiff
Fix brackets around bookmark URI check
authorChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:18:23 +0000 (23:18 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:18:23 +0000 (23:18 +0200)
midori/midori-browser.c

index 7fba5572d32ece103a02be9419bb0220057d94fb..f797e5d222b158afafded11e1b297e4209ab61c7 100644 (file)
@@ -625,9 +625,9 @@ midori_browser_edit_bookmark_uri_changed_cb (GtkEntry*      entry,
     gtk_dialog_set_response_sensitive (dialog, GTK_RESPONSE_ACCEPT,
         uri && (g_str_has_prefix (uri, "http://")
         || g_str_has_prefix (uri, "https://")
-        || g_str_has_prefix (uri, "file://"))
+        || g_str_has_prefix (uri, "file://")
         || g_str_has_prefix (uri, "data:")
-        || g_str_has_prefix (uri, "javascript:"));
+        || g_str_has_prefix (uri, "javascript:")));
 }
 
 /* Private function, used by MidoriBookmarks and MidoriHistory */