diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-31 16:16:18 +1030 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-31 17:09:13 +1030 |
commit | f781a752e642cfe7d08f841b332c3ae507315598 (patch) | |
tree | 63a37822ab2538f5eb1afbaff190f54d83d37895 /render/animcur.c | |
parent | 245d1c162c7b13c98a9a28dc7ad441366d7e8006 (diff) |
Move MAX_DEVICES to misc.h, rename to MAXDEVICES for consistency.
Diffstat (limited to 'render/animcur.c')
-rw-r--r-- | render/animcur.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |