-
Peter Hutterer authored
The has_switch() function returns -1 if the device doesn't have the switch capability - which is the same as "true" and how we used this so far. Fix the checks. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8ee3b7a7