diff options
author | portix <none@none> | 2012-08-27 01:21:11 +0200 |
---|---|---|
committer | portix <none@none> | 2012-08-27 01:21:11 +0200 |
commit | a0e0914ddb22554a8bf14ef7141dbc497e820be7 (patch) | |
tree | 5329bc74dbbefc662da4072da3eb60e9418e1809 /src | |
parent | aa261c53b5d23b4bd4f169dc0f292c4e7f476e8f (diff) | |
download | dwb-a0e0914ddb22554a8bf14ef7141dbc497e820be7.zip |
Ignore empty key-names in dwb:keys
Diffstat (limited to 'src')
-rw-r--r-- | src/html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -357,6 +357,8 @@ html_keys_load_cb(WebKitWebView *wv, GParamSpec *p, HtmlTable *table) { for (GList *l = dwb.keymap; l; l=l->next) { km = l->data; n = km->map->n; + if (n.first == NULL) + continue; input = webkit_dom_document_get_element_by_id(doc, n.first); if (input != NULL) { mod = dwb_modmask_to_string(km->mod); |