From 60df01512cf88d51b6334c95dab72de734f136fd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Oct 2017 21:13:53 +0200 Subject: command: read the diff if you want to know --- options/m_property.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options') diff --git a/options/m_property.h b/options/m_property.h index 35d704ad97..d71ec033aa 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -200,6 +200,8 @@ struct m_sub_property { .type = {.type = CONF_TYPE_DOUBLE}, .value = {.double_ = (f)} #define SUB_PROP_FLAG(f) \ .type = {.type = CONF_TYPE_FLAG}, .value = {.flag = (f)} +#define SUB_PROP_PTS(f) \ + .type = {.type = &m_option_type_time}, .value = {.double_ = (f)} int m_property_read_sub(const struct m_sub_property *props, int action, void *arg); -- cgit v1.2.3