diff options
-rw-r--r-- | src/smi501_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi501_crtc.c b/src/smi501_crtc.c index 9cf6817..565b67a 100644 --- a/src/smi501_crtc.c +++ b/src/smi501_crtc.c @@ -440,7 +440,7 @@ SMI501_CrtcLoadCursorImage(xf86CrtcPtr crtc, CARD8 *image) ENTER(); port = crtc == crtcConf->crtc[0] ? 0x00f0 : 0x0230; - value = pSmi->FBCursorOffset + (port == 0x00f0 ? 0 : SMI501_MAX_CURSOR); + value = pSmi->FBCursorOffset + (port == 0x00f0 ? 0 : SMI501_CURSOR_SIZE); WRITE_DCR(pSmi, port, value); memcpy(pSmi->FBBase + value, image, /* FIXME 1024, but then, should not be using 64x64 cursors */ |