summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-05-04 10:14:43 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-05-04 10:14:43 +0200
commit7d85169c7ab1d05c21fdbb2877ffd79f344dbb6b (patch)
treeb09e4ded41696bcfb146d4dcf0400dfbd6adf91a /render
parent557dbadf3be273255e8fdb12d9321f4e88bf2b65 (diff)
Fix typo in ProcRenderCreateAnimCursor.
Diffstat (limited to 'render')
-rw-r--r--render/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/render.c b/render/render.c
index 8487b60de..5622994e3 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1857,7 +1857,7 @@ ProcRenderCreateAnimCursor (ClientPtr client)
elt = (xAnimCursorElt *) (stuff + 1);
for (i = 0; i < ncursor; i++)
{
- ret = dixLookupResourceByType((pointer *)(cursors + 1), elt->cursor,
+ ret = dixLookupResourceByType((pointer *)(cursors + i), elt->cursor,
RT_CURSOR, client, DixReadAccess);
if (ret != Success)
{