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

This commit is contained in:
Bernhard Reutner-Fischer 2007-02-04 11:13:57 +00:00
parent e991303406
commit cbd6e65744

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;
}