From 229554044dc4894313198de46b489449df442e5c Mon Sep 17 00:00:00 2001 From: wight Date: Mon, 12 Jan 2004 07:09:10 +0000 Subject: polish yes/no options support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11782 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_option.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'm_option.c') diff --git a/m_option.c b/m_option.c index 3be937f76b..01fdbfdb61 100644 --- a/m_option.c +++ b/m_option.c @@ -82,6 +82,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr !strcasecmp(param, "y") || !strcasecmp(param, "j") || !strcasecmp(param, "i") || + !strcasecmp(param, "tak") || !strcmp(param, "1")) { if(dst) VAL(dst) = opt->max; } else if (!strcasecmp(param, "no") || @@ -90,6 +91,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr !strcasecmp(param, "nicht") || !strcasecmp(param, "nem") || !strcasecmp(param, "n") || + !strcasecmp(param, "nie") || !strcmp(param, "0")) { if(dst) VAL(dst) = opt->min; } else { -- cgit v1.2.3