diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-30 22:04:00 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-30 22:04:00 +0200 |
commit | de3bcfcb9fc5304865c71d2518ea79d44b3ccbc4 (patch) | |
tree | c296e344603d0c430a7ef8d02bf0b77358740031 /uzbl.c | |
parent | 753dacc04d8e395bb23273d915fc5517c155cc8c (diff) | |
parent | bb52eaf6f3ecdb6c2b8e49f1485891d8188f76ff (diff) |
Merge commit 'dequis/stdin' into experimental
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2493,6 +2493,11 @@ settings_init () { for (i = 0; default_config[i].command != NULL; i++) { parse_cmd_line(default_config[i].command, NULL); } + + if (g_strcmp0(s->config_file, "-") == 0) { + s->config_file = NULL; + create_stdin(); + } if (!s->config_file) { s->config_file = find_xdg_file (0, "/uzbl/config"); @@ -2780,8 +2785,6 @@ main (int argc, char* argv[]) { /* WebInspector */ set_up_inspector(); - create_stdin(); - if (verbose_override > uzbl.state.verbose) uzbl.state.verbose = verbose_override; |