From 4e2fe3724b3bcd61794cf4fca88adf383f5547d4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Aug 2012 01:30:53 +0200 Subject: command: fix crash when setting nonexistent property Commit ebaaa41f2a4 accidentally removed the final terminator of the properties array. --- command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command.c b/command.c index 66ff8d131a..8bcfc8c0d2 100644 --- a/command.c +++ b/command.c @@ -2249,6 +2249,8 @@ static const m_option_t mp_properties[] = { { "tv_hue", mp_property_tv_color, CONF_TYPE_INT, M_OPT_RANGE, -100, 100, .offset = TV_COLOR_HUE }, #endif + + {0}, }; -- cgit v1.2.3