aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r--src/uzbl-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index a3a03b0..129d14a 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -1283,7 +1283,8 @@ parse_cmd_line(const char *ctl_line, GString *result) {
if((work_string[0] != '#')) { /* ignore comments */
GArray *a = g_array_new (TRUE, FALSE, sizeof(gchar*));
const CommandInfo *c = parse_command_parts(work_string, a);
- run_parsed_command(c, a, result);
+ if(c)
+ run_parsed_command(c, a, result);
g_array_free (a, TRUE);
}
}