diff src/browser.c @ 2478:ad4a0b3f0032

[gaim-migrate @ 2491] handle spaces better committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 10 Oct 2001 20:42:19 +0000
parents 2927c2c26fe6
children 6d00c0f8bfc5
line wrap: on
line diff
--- a/src/browser.c	Wed Oct 10 20:23:25 2001 +0000
+++ b/src/browser.c	Wed Oct 10 20:42:19 2001 +0000
@@ -611,7 +611,8 @@
 				*ms = 0;
 				g_snprintf(command, sizeof(command), "%s\"%s\"%s", web_command, url,
 					   ms + 2);
-			}
+			} else
+				g_snprintf(command, sizeof(command), web_command);
 
 			args[0] = "sh";
 			args[1] = "-c";