Mercurial > pidgin.yaz
changeset 2828:06539a384d6b
[gaim-migrate @ 2841]
i love myself better than you
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 02 Dec 2001 00:47:33 +0000 |
parents | 51999a36c0b1 |
children | e3f98544eae0 |
files | src/browser.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser.c Sun Dec 02 00:35:34 2001 +0000 +++ b/src/browser.c Sun Dec 02 00:47:33 2001 +0000 @@ -565,12 +565,12 @@ { if (web_browser == BROWSER_NETSCAPE) { - char *command = g_malloc(1024); + char *command; if (misc_options & OPT_MISC_BROWSER_POPUP) - g_snprintf(command, 1024, "OpenURL(%s, new-window)", url); + command = g_strdup_printf("OpenURL(%s, new-window)", url); else - g_snprintf(command, 1024, "OpenURL(%s)", url); + command = g_strdup_printf("OpenURL(%s)", url); netscape_command(command); g_free(command);