summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-25 16:59:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-25 17:02:45 +1000
commit78f64722c57ff5ec5d0ae35da0c8f151598e6d6b (patch)
tree7af51b455e23fb25876b21a21bbd7346a5822b25 /src
parent8f174b7f5e57c6b3e123476f384ce9164cda11b7 (diff)
XGetDeviceControl: Add a missing break leading to wrong length calculation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/XGetDCtl.c1
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;