diff options
-rw-r--r-- | etc/example.conf | 1 | ||||
-rw-r--r-- | m_option.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/example.conf b/etc/example.conf index 33aff8e9be..0911bc973b 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -54,6 +54,7 @@ fs=yes # Enlarges movie window to your desktop's size. ## German ja nein ## Spanish si no ## Polish tak nie +## Swedish ja nej ## Binary 1 0 ## ## You can also use spaces and/or tabs. 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 { |