Correct setting_is_of_numeric_type

This commit is contained in:
twinaphex 2015-05-06 04:24:17 +02:00
parent dd45169063
commit b22598c46c

View File

@ -6645,9 +6645,9 @@ bool setting_is_of_numeric_type(rarch_setting_t *setting)
{
if (
setting &&
(setting->type == ST_INT) &&
(setting->type == ST_UINT) &&
(setting->type == ST_FLOAT)
((setting->type == ST_INT) ||
(setting->type == ST_UINT) ||
(setting->type == ST_FLOAT))
)
return true;
return false;