From 2c7275a54691f5dc3f36b84ed78fc922ba4e5d7b Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 17 May 2009 16:53:50 +0200 Subject: [PATCH] also dont inherit --name --- uzbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uzbl.c b/uzbl.c index b8ac195..3a907b3 100644 --- a/uzbl.c +++ b/uzbl.c @@ -503,7 +503,7 @@ new_window_load_uri (const gchar * uri) { g_string_append_printf (to_execute, "%s --uri '%s'", uzbl.state.executable_path, uri); int i; for (i = 0; entries[i].long_name != NULL; i++) { - if ((entries[i].arg == G_OPTION_ARG_STRING) && (strcmp(entries[i].long_name,"uri")!=0)) { + if ((entries[i].arg == G_OPTION_ARG_STRING) && (strcmp(entries[i].long_name,"uri")!=0) && (strcmp(entries[i].long_name,"name")!=0)) { gchar** str = (gchar**)entries[i].arg_data; if (*str!=NULL) { g_string_append_printf (to_execute, " --%s '%s'", entries[i].long_name, *str); -- 2.11.4.GIT