]> spindle.queued.net Git - midori/commitdiff
Cancel looking for default search engines properly
authorChristian Dywan <christian@twotoasts.de>
Sat, 14 Feb 2009 10:52:09 +0000 (11:52 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 14 Feb 2009 10:52:09 +0000 (11:52 +0100)
midori/main.c

index a3d6d47b663c9f6563fe82ebbd9cead5249adfb0..fcadcd1c194d96bda077ec2e2e5761e25e3b9b5f 100644 (file)
@@ -1839,7 +1839,7 @@ main (int    argc,
                 g_build_filename (config_dirs[i], PACKAGE_NAME, "search", NULL));
             search_engines = search_engines_new_from_file (config_file, NULL);
             if (!katze_array_is_empty (search_engines))
-                continue;
+                break;
             i++;
         }
         if (katze_array_is_empty (search_engines))