summaryrefslogtreecommitdiff
path: root/conf.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-07 16:14:06 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-07 16:14:06 +0100
commit8d601c64d53f3fa7c7f1ea31bd041e8544d9f464 (patch)
tree47a3f5fd8c6cc9f8b651df6f83a4a66db2047729 /conf.c
parent53749c358f630433f0996fbdf589d55a1e89604f (diff)
apply gui settings without restarting player
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/conf.c b/conf.c
index 2a374193..378309b3 100644
--- a/conf.c
+++ b/conf.c
@@ -67,19 +67,6 @@ conf_load (void) {
*p = 0;
// new items are appended, to preserve order
conf_set_str (str, value);
-#if 0
- DB_conf_item_t *it = malloc (sizeof (DB_conf_item_t));
- memset (it, 0, sizeof (DB_conf_item_t));
- it->key = strdup (str);
- it->value = strdup (value);
- if (!tail) {
- conf_items = it;
- }
- else {
- tail->next = it;
- }
- tail = it;
-#endif
}
fclose (fp);
changed = 0;