Mercurial > mplayer.hg
changeset 12775:470c2e531d10
make config accept true/false as parameters
author | iive |
---|---|
date | Thu, 08 Jul 2004 00:04:42 +0000 |
parents | 484b6f3a0194 |
children | 1154a70ade70 |
files | m_option.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m_option.c Wed Jul 07 21:26:58 2004 +0000 +++ b/m_option.c Thu Jul 08 00:04:42 2004 +0000 @@ -84,6 +84,7 @@ !strcasecmp(param, "i") || !strcasecmp(param, "tak") || !strcasecmp(param, "ja") || + !strcasecmp(param, "true") || !strcmp(param, "1")) { if(dst) VAL(dst) = opt->max; } else if (!strcasecmp(param, "no") || @@ -94,6 +95,7 @@ !strcasecmp(param, "n") || !strcasecmp(param, "nie") || !strcasecmp(param, "nej") || + !strcasecmp(param, "false") || !strcmp(param, "0")) { if(dst) VAL(dst) = opt->min; } else {