Fix typo in ProcRenderCreateAnimCursor.

This commit is contained in:
Michel Dänzer 2009-05-04 10:14:43 +02:00
parent 557dbadf3b
commit 7d85169c7a

View File

@ -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)
{