summaryrefslogtreecommitdiff
path: root/src/nv_cursor.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-11-26 13:14:40 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-11-26 13:14:40 -0800
commit100f5e24da2cbc79ed761083daa9a00b107008ab (patch)
treea5acc843a94af3b4fb9598237e46901cbd970ffc /src/nv_cursor.c
parente9ada35b4d24abd44bc5d811b59c6f25af5984f4 (diff)
xcalloc needs 2 args, Xcalloc takes one - yay for inconsistency!
Diffstat (limited to 'src/nv_cursor.c')
-rw-r--r--src/nv_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv_cursor.c b/src/nv_cursor.c
index abaaab2..73e3fc6 100644
--- a/src/nv_cursor.c
+++ b/src/nv_cursor.c
@@ -135,11 +135,11 @@ TransformCursor (NVPtr pNv)
/* convert to color cursor */
if(pNv->alphaCursor) {
dwords = 64 * 64;
- if(!(tmp = xcalloc(dwords * 4))) return;
+ if(!(tmp = Xcalloc(dwords * 4))) return;
ConvertCursor8888(pNv, pNv->curImage, tmp);
} else {
dwords = (32 * 32) >> 1;
- if(!(tmp = xcalloc(dwords * 4))) return;
+ if(!(tmp = Xcalloc(dwords * 4))) return;
ConvertCursor1555(pNv, pNv->curImage, (CARD16*)tmp);
}