From f781a752e642cfe7d08f841b332c3ae507315598 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 31 Oct 2008 16:16:18 +1030 Subject: Move MAX_DEVICES to misc.h, rename to MAXDEVICES for consistency. --- render/animcur.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render') diff --git a/render/animcur.c b/render/animcur.c index 5723442fa..d80094d98 100644 --- a/render/animcur.c +++ b/render/animcur.c @@ -82,7 +82,7 @@ typedef struct _AnimCurState { } AnimCurStateRec, *AnimCurStatePtr; /* What a waste. But we need an API change to alloc it per device only. */ -static AnimCurStateRec animCurState[MAX_DEVICES]; +static AnimCurStateRec animCurState[MAXDEVICES]; static unsigned char empty[4]; @@ -354,7 +354,7 @@ AnimCurInit (ScreenPtr pScreen) { int i; AnimCurGeneration = serverGeneration; - for (i = 0; i < MAX_DEVICES; i++) { + for (i = 0; i < MAXDEVICES; i++) { animCurState[i].pCursor = 0; animCurState[i].pScreen = 0; animCurState[i].elt = 0; -- cgit v1.2.3