2005-08-13 [hoa] 1.9.13cvs33
[claws.git] / tools / multiwebsearch.pl
index cbfbf31..f46a9fa 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;