summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-02-23 10:53:21 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-23 15:03:18 +1000
commit536bd44c513ede7e61e112c82a80fb9197f261f7 (patch)
treeed29dec88b0361ee7e21ef8e4f24d1abedf29d91 /src
parent4ca8be9f3ffbafe9515e50d784f4ff83f6993be0 (diff)
Fix typo in comment.
Reported-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/XIGrabDevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIGrabDevice.c b/src/XIGrabDevice.c
index 97ab971..e0ca601 100644
--- a/src/XIGrabDevice.c
+++ b/src/XIGrabDevice.c
@@ -59,7 +59,7 @@ XIGrabDevice(Display* dpy, int deviceid, Window grab_window, Time time,
req->cursor = cursor;
- /* masks.mask_len is in bytes, but we need 4-byte units on the wire,
+ /* mask->mask_len is in bytes, but we need 4-byte units on the wire,
* and they need to be padded with 0 */
len = req->mask_len;
buff = calloc(1, len * 4);