ivi-shell: Fix incorrect use of logical instead of bitwise operator
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 17 Nov 2017 11:39:06 +0000 (13:39 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 24 Nov 2017 12:02:19 +0000 (14:02 +0200)
commit0343c6ac69ac8bd88a625e2429e87a8db86a04dc
treeca0224d943a15636ec6d00a913ff17617c4cf294
parent71c4f70e08faad6002ec8fe8cd1c7930bee8373b
ivi-shell: Fix incorrect use of logical instead of bitwise operator

Fix the code to use the correct bitwise AND operator '&', instead of the
currently used logical AND operator '&&', to check the value of a bit
flag in a bit mask.

This problem was reported as a warning when building with clang.

Reviewed-by: Emre Ucan <eucan@de.adit-jv.com>
ivi-shell/ivi-layout.c