[patch] mousedev.c

From: Yoichi Imai (yoichi@silver-forest.com)
Date: Thu Sep 21 2000 - 10:03:20 EST


Hello.

I think it's a bug.

--- linux-2.4.0-test8/drivers/input/mousedev.c Wed Aug 23 01:06:31 2000
+++ linux/drivers/input/mousedev.c Thu Sep 21 22:20:22 2000
@@ -121,12 +121,12 @@
                                                case BTN_TOUCH:
                                                case BTN_LEFT: index = 0; break;
                                                case BTN_4:
- case BTN_EXTRA: if (list->mode > 1) { index = 4; break; }
+ case BTN_EXTRA: if (list->mode > 1) index = 4; break;
                                                case BTN_STYLUS:
                                                case BTN_1:
                                                case BTN_RIGHT: index = 1; break;
                                                case BTN_3:
- case BTN_SIDE: if (list->mode > 1) { index = 3; break; }
+ case BTN_SIDE: if (list->mode > 1) index = 3; break;
                                                case BTN_2:
                                                case BTN_STYLUS2:
                                                case BTN_MIDDLE: index = 2; break;

Regards.

-- 
Yoichi Imai <yoichi@silver-forest.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:24 EST