diff options
author | portix <portix@gmx.net> | 2014-03-18 05:07:29 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2014-03-18 05:07:29 +0100 |
commit | 4de0d9abe042423b5c681bd4110a7e5dc4d97e3a (patch) | |
tree | 9fd808d8642c93368d8039b27692f936b6f737fb | |
parent | 61dc3374b6c4f95c82a3f13f29d6c6bb30c9a54a (diff) | |
download | dwb-4de0d9abe042423b5c681bd4110a7e5dc4d97e3a.zip |
Allow comments in custom_keys
-rw-r--r-- | src/dwb.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5081,6 +5081,11 @@ dwb_init_custom_keys(gboolean reload) keybuf = g_string_new(NULL); current_line = lines[i]; + while (g_ascii_isspace(*current_line)) + current_line++; + if (*current_line == '#') + continue; + while (*current_line && *current_line != ':') { if (*current_line == '\\') |