summaryrefslogtreecommitdiff
path: root/src/wcmXCommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmXCommand.c')
-rw-r--r--src/wcmXCommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
index 23402c3..2ac7eed 100644
--- a/src/wcmXCommand.c
+++ b/src/wcmXCommand.c
@@ -333,7 +333,7 @@ int xf86WcmSetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop,
values[2] = common->wcmMaxTouchX;
}
- if (values[1] >= values[3]);
+ if (values[1] >= values[3])
{
values[1] = 0;
if (!IsTouch(priv))