Just to make it explicit
Signed-off-by: Peter Hutterer <[email protected]>
---
src/ps2comm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/ps2comm.c b/src/ps2comm.c
index ed2f751..c474c07 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -582,12 +582,15 @@ PS2ReadHwStateProto(InputInfoPtr pInfo,
case 8:
hw->multi[7] = ((buf[5] & 0x08)) ? 1 : 0;
hw->multi[6] = ((buf[4] & 0x08)) ? 1 : 0;
+ /* fallthrough */
case 6:
hw->multi[5] = ((buf[5] & 0x04)) ? 1 : 0;
hw->multi[4] = ((buf[4] & 0x04)) ? 1 : 0;
+ /* fallthrough */
case 4:
hw->multi[3] = ((buf[5] & 0x02)) ? 1 : 0;
hw->multi[2] = ((buf[4] & 0x02)) ? 1 : 0;
+ /* fallthrough */
case 2:
hw->multi[1] = ((buf[5] & 0x01)) ? 1 : 0;
hw->multi[0] = ((buf[4] & 0x01)) ? 1 : 0;
--
1.9.3
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel