mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Merge pull request #199 from ailin-nemui/config-parser
Make config parser more robust
This commit is contained in:
commit
eb0f09073c
22 changed files with 119 additions and 66 deletions
|
|
@ -135,7 +135,7 @@ static void keyconfig_save(const char *id, const char *key, const char *data)
|
|||
node = key_config_find(key);
|
||||
if (node == NULL) {
|
||||
node = iconfig_node_traverse("(keyboard", TRUE);
|
||||
node = config_node_section(node, NULL, NODE_TYPE_BLOCK);
|
||||
node = iconfig_node_section(node, NULL, NODE_TYPE_BLOCK);
|
||||
}
|
||||
|
||||
iconfig_node_set_str(node, "key", key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue