fallback: add missing curly braces to match the coding style

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-05-28 14:42:12 +10:00
parent fc7b8d7948
commit 84fda690bd

View file

@ -1386,8 +1386,9 @@ fallback_pair_tablet_mode(struct evdev_device *keyboard,
return;
/* This filters out all internal keyboard-like devices (Video
* Switch) */
} else if ((keyboard->tags & EVDEV_TAG_INTERNAL_KEYBOARD) == 0)
} else if ((keyboard->tags & EVDEV_TAG_INTERNAL_KEYBOARD) == 0) {
return;
}
if (evdev_device_has_model_quirk(keyboard,
QUIRK_MODEL_TABLET_MODE_NO_SUSPEND))