diff options
author | wm4 <wm4@nowhere> | 2013-05-18 17:52:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-18 17:52:17 +0200 |
commit | ad8aae1708487aa4d2d99af7213f7d485c4c1a95 (patch) | |
tree | a699c8a6a7444c347a86231e3a33a0700503a1f6 /core/m_option.c | |
parent | 228c3d209cb27a5b6a3cc2dc5b543aeadec244cf (diff) | |
download | mpv-ad8aae1708487aa4d2d99af7213f7d485c4c1a95.tar.bz2 mpv-ad8aae1708487aa4d2d99af7213f7d485c4c1a95.tar.xz |
Fix commit d1b37af
Yeah, it doesn't work this way... Please look away.
Diffstat (limited to 'core/m_option.c')
-rw-r--r-- | core/m_option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/m_option.c b/core/m_option.c index 2f6160c538..1d6c49e851 100644 --- a/core/m_option.c +++ b/core/m_option.c @@ -2205,7 +2205,7 @@ static int parse_obj_settings_list(const m_option_t *opt, struct bstr name, num++; } - if (op != OP_NONE && param.len == 0) + if (op != OP_NONE && num == 0) return M_OPT_MISSING_PARAM; if (dst) { |