quirks: correctly print boolean values
authorLoïc Yhuel <loic.yhuel@softathome.com>
Mon, 6 Apr 2020 21:48:20 +0000 (23:48 +0200)
committerLoïc Yhuel <loic.yhuel@softathome.com>
Mon, 6 Apr 2020 21:51:01 +0000 (23:51 +0200)
commitdd0370f73c8d8ab65d0271c11cf1b7305fe4c41e
tree741e63461e66a43685bd444d6889e6124dd19836
parentc4cb4da33afb5a1bb16637ba1f07371b25f9e981
quirks: correctly print boolean values

When a boolean quirk is set to "0", it is correctly disabled, but "libinput quirks list" and
"libinput record" showed it as "1".

This happens for example if ModelXXXX=0 is set in /etc/libinput/local-overrides.quirks, to
override a default quirk.

Signed-off-by: Loïc Yhuel <loic.yhuel@softathome.com>
tools/shared.c