mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/BIND -delete doesn't anymore leave empty {} blocks in configuration file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
69dccf4a67
commit
f33c283317
@ -150,8 +150,10 @@ static void keyconfig_clear(const char *key)
|
||||
|
||||
/* remove old keyboard settings */
|
||||
node = key_config_find(key);
|
||||
if (node != NULL)
|
||||
iconfig_node_clear(node);
|
||||
if (node != NULL) {
|
||||
iconfig_node_remove(iconfig_node_traverse("(keyboard", FALSE),
|
||||
node);
|
||||
}
|
||||
}
|
||||
|
||||
KEYINFO_REC *key_info_find(const char *id)
|
||||
|
Loading…
Reference in New Issue
Block a user