Mercurial > pidgin
diff src/browser.c @ 2077:824dc84315c7
[gaim-migrate @ 2087]
Blahblah blah
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Tue, 17 Jul 2001 19:19:42 +0000 |
| parents | 2d5fef1f986d |
| children | b66aca8e8dce |
line wrap: on
line diff
--- a/src/browser.c Tue Jul 17 18:52:50 2001 +0000 +++ b/src/browser.c Tue Jul 17 19:19:42 2001 +0000 @@ -603,7 +603,10 @@ char command[1024]; - g_snprintf(command, sizeof(command), web_command, url); + if ((url[0] == '\"') && (url[strlen(url)-1] == '\"')) + g_snprintf(command, sizeof(command), web_command, url); + else + g_snprintf(command, sizeof(command), "%s \"%s\"", web_command, url); args[0] = "sh"; args[1] = "-c";
