diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-07-10 22:48:17 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-07-10 22:48:17 -0700 |
commit | 122bf9de037f578cc4862b1dc775b6589d56057d (patch) | |
tree | 29777bacdb96d059f64f15b6749b876820600dfb /config.c | |
parent | 28b8256fddf53446898120f9b51a43f132d946bb (diff) |
Read key bindings from config file
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ tern_node * parse_config(char * config_data) if (prefix) { key = alloc_concat(prefix, key); } - head = tern_insert_ptr(head, key, val); + head = tern_insert_ptr(head, key, strdup(val)); if (prefix) { free(key); } |