The code currently checked the return value of weston_config_section_get_bool() which is incorrect. The return value of weston_config_section_get_bool() is zero whether the config option is present or not, and it is non-zero in case the config option is not present. The code must check whether the config option is either true or false, or in case the option is not present then default to false. Adjust the code accordingly. Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Marek Vasut <marex@denx.de>dev
parent
f079f43658
commit
6c2646e967
Loading…
Reference in new issue