mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
util: Recognize FALSE and F in debug_get_bool_option
Concidering that we actually print FALSE when displaying the option we should also accept that value.
This commit is contained in:
parent
7ed2f953c0
commit
f587615e13
1 changed files with 4 additions and 0 deletions
|
|
@ -123,8 +123,12 @@ debug_get_bool_option(const char *name, boolean dfault)
|
|||
result = FALSE;
|
||||
else if(!util_strcmp(str, "f"))
|
||||
result = FALSE;
|
||||
else if(!util_strcmp(str, "F"))
|
||||
result = FALSE;
|
||||
else if(!util_strcmp(str, "false"))
|
||||
result = FALSE;
|
||||
else if(!util_strcmp(str, "FALSE"))
|
||||
result = FALSE;
|
||||
else
|
||||
result = TRUE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue