summaryrefslogtreecommitdiff
path: root/src/Cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cursor.c')
-rw-r--r--src/Cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cursor.c b/src/Cursor.c
index 0d656f7..b3dfed1 100644
--- a/src/Cursor.c
+++ b/src/Cursor.c
@@ -106,7 +106,7 @@ XFixesGetCursorImage (Display *dpy)
/* bytes of actual data in the reply */
nread = (npixels << 2) + nbytes_name;
/* size of data returned to application */
- rlength = (sizeof (XFixesCursorImage) +
+ rlength = (sizeof (XFixesCursorImage) +
npixels * sizeof (unsigned long) +
nbytes_name + 1);