summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-31 16:16:18 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-31 17:09:13 +1030
commitf781a752e642cfe7d08f841b332c3ae507315598 (patch)
tree63a37822ab2538f5eb1afbaff190f54d83d37895 /render
parent245d1c162c7b13c98a9a28dc7ad441366d7e8006 (diff)
Move MAX_DEVICES to misc.h, rename to MAXDEVICES for consistency.
Diffstat (limited to 'render')
-rw-r--r--render/animcur.c4
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;