Skip to content
Commit 6c2646e9 authored by Marek Vasut's avatar Marek Vasut Committed by Daniel Stone
Browse files

screen-share: Fix start-on-startup config option handling



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: default avatarMarius Vlad <marius.vlad@collabora.com>
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent f079f436
Loading
Loading
Loading
Pipeline #489210 passed with stages
in 3 minutes and 47 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment