Mercurial > pidgin
diff src/browser.c @ 2777:0899f8c99a15
[gaim-migrate @ 2790]
that's just rather pathetic
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 20 Nov 2001 06:16:15 +0000 |
parents | 62bd04e00eb3 |
children | c172128500ec |
line wrap: on
line diff
--- a/src/browser.c Tue Nov 20 01:29:42 2001 +0000 +++ b/src/browser.c Tue Nov 20 06:16:15 2001 +0000 @@ -622,14 +622,7 @@ char *ms; - if (strstr(web_command, "\"%s\"")) - g_snprintf(command, sizeof(command), web_command, url); - else if ((ms = strstr(web_command, "%s")) != NULL) { - *ms = 0; - g_snprintf(command, sizeof(command), "%s\"%s\"%s", web_command, url, - ms + 2); - } else - g_snprintf(command, sizeof(command), web_command); + g_snprintf(command, sizeof(command), web_command, url); args[0] = "sh"; args[1] = "-c";