diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 16:59:04 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 17:02:45 +1000 |
commit | 78f64722c57ff5ec5d0ae35da0c8f151598e6d6b (patch) | |
tree | 7af51b455e23fb25876b21a21bbd7346a5822b25 | |
parent | 8f174b7f5e57c6b3e123476f384ce9164cda11b7 (diff) |
XGetDeviceControl: Add a missing break leading to wrong length calculation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/XGetDCtl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c index 2e78e25..608b22a 100644 --- a/src/XGetDCtl.c +++ b/src/XGetDCtl.c @@ -130,6 +130,7 @@ XGetDeviceControl( case DEVICE_CORE: { size += sizeof(xDeviceCoreState); + break; } default: size += d->length; |