From 52e7eee8118d709fbbd1ec59f29108b96c0938bb Mon Sep 17 00:00:00 2001 From: wight Date: Tue, 13 Jan 2004 09:55:40 +0000 Subject: swedish yes/no options support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11786 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 01fdbfdb61..c5478da73d 100644 --- a/m_option.c +++ b/m_option.c @@ -83,6 +83,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr !strcasecmp(param, "j") || !strcasecmp(param, "i") || !strcasecmp(param, "tak") || + !strcasecmp(param, "ja") || !strcmp(param, "1")) { if(dst) VAL(dst) = opt->max; } else if (!strcasecmp(param, "no") || @@ -92,6 +93,7 @@ static int parse_flag(m_option_t* opt,char *name, char *param, void* dst, int sr !strcasecmp(param, "nem") || !strcasecmp(param, "n") || !strcasecmp(param, "nie") || + !strcasecmp(param, "nej") || !strcmp(param, "0")) { if(dst) VAL(dst) = opt->min; } else { -- cgit v1.2.3