From dbf59abe0525ad38dac369af248ad735ef66cfe8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 13 Nov 2014 17:25:04 +0100 Subject: command: fix weird stuff Happens to fix some aspects of some properties (especially reading "option-flags/x" as native value). --- options/m_property.c | 1 + 1 file changed, 1 insertion(+) diff --git a/options/m_property.c b/options/m_property.c index b5f9025617..1beaf83402 100644 --- a/options/m_property.c +++ b/options/m_property.c @@ -461,6 +461,7 @@ int m_property_strdup_ro(int action, void* arg, const char *var) // This does not support write access. int m_property_read_sub(const struct m_sub_property *props, int action, void *arg) { + m_property_unkey(&action, &arg); switch (action) { case M_PROPERTY_GET_TYPE: *(struct m_option *)arg = (struct m_option){.type = CONF_TYPE_NODE}; -- cgit v1.2.3