From 7d85169c7ab1d05c21fdbb2877ffd79f344dbb6b Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Mon, 4 May 2009 10:14:43 +0200 Subject: Fix typo in ProcRenderCreateAnimCursor. --- render/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') 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) { -- cgit v1.2.3