This commit was manufactured by cvs2svn to create branch 'gtk2'.
[claws.git] / tools / multiwebsearch.pl
index cbfbf3166a57421cf4ee34dbd1f7d7f01bac652c..f46a9fa0ec7f9c320aa517465293c2221ea8049e 100644 (file)
@@ -25,11 +25,13 @@ my $what  = '';
 GetOptions("where=s"   => \$where,
           "what=s"     => \$what);
 
+$what =~ s/\s/%20/g;
+
 chdir($ENV{HOME} . "/.sylpheed") 
        || die("Can't find your ~/.sylpheed directory\n");
 
-open (CONF, "<multisearch.conf") 
-       || die("Can't open ~/.sylpheed/multisearch.conf\n");
+open (CONF, "<multiwebsearch.conf") 
+       || die("Can't open ~/.sylpheed/multiwebsearch.conf\n");
        @conflines = <CONF>;
 close CONF;