diff options
author | portix <portix@gmx.net> | 2012-02-19 21:32:24 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-02-19 21:32:24 +0100 |
commit | 005c0ef9a819644684a64fd891b12642059303bf (patch) | |
tree | f7737bc702231e65a7402899a9de8597923385d6 /src/util.c | |
parent | 423df957879b2e83ff042bf9f837758550821c2c (diff) | |
download | dwb-005c0ef9a819644684a64fd891b12642059303bf.zip |
Fixing segfault when startpage is not set; fixing glib errors if documentviewer and fonts are not set
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ util_char_to_arg(char *value, DwbType type) { } } if (type == BOOLEAN) { - if(!g_ascii_strcasecmp(value, "false") || !g_strcmp0(value, "0")) { + if(value == NULL || !g_ascii_strcasecmp(value, "false") || !g_strcmp0(value, "0")) { ret->b = false; } else { |