# HG changeset patch # User iive # Date 1089245082 0 # Node ID 470c2e531d104c191aa6c8b2d06d63aa1eddc713 # Parent 484b6f3a0194ee843021b7318153bb767f89fc3f make config accept true/false as parameters diff -r 484b6f3a0194 -r 470c2e531d10 m_option.c --- 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 {