Index: trunk/src_plugins/drc_query/drc_query.c =================================================================== --- trunk/src_plugins/drc_query/drc_query.c (revision 33091) +++ trunk/src_plugins/drc_query/drc_query.c (revision 33092) @@ -342,8 +342,9 @@ lht_node_t *nd = i->prop.src; char *path = rnd_concat(DRC_CONF_PATH_CONST, nd->name, NULL); rnd_coord_t *c; + rnd_conf_native_t *nat = rnd_conf_get_field(path); - { + if ((nat == NULL) || (nat->used == 0)) { /* create the definition and set default value (but only once) */ union { rnd_coord_t c; double d; @@ -350,7 +351,6 @@ void *ptr; char *str; } anyval; - rnd_conf_native_t *nat; lht_node_t *ndesc = lht_dom_hash_get(nd, "desc"); lht_node_t *ntype = lht_dom_hash_get(nd, "type"); lht_node_t *ndefault = lht_dom_hash_get(nd, "default"); @@ -377,7 +377,6 @@ } /* create the new conf node for the def if it doesn't already exist */ - nat = rnd_conf_get_field(path); if (nat == NULL) { c = calloc(sizeof(anyval), 1); pathfree = 0;