- fix buglet introduced in r17351 in find_param(). Closes #1193

1_5_stable
Bernhard Reutner-Fischer 2007-02-04 11:13:57 +00:00
parent e991303406
commit cbd6e65744
1 changed files with 5 additions and 4 deletions

View File

@ -568,10 +568,11 @@ static int find_param(const char * const name)
NULL
};
int i = index_in_str_array(params, name);
if (i) {
if (!(i == 4 || i == 5))
i |= 0x80;
}
if (i < 0)
return 0;
if (!(i == 4 || i == 5))
i |= 0x80;
return i;
}