kdrive: fix incorrect NULL-check

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111 2025-07-06 02:09:25 +03:00 • committed by Enrico Weigelt
commit 2884ede393

View file

@ -84,7 +84,7 @@ KdEnableColormap(ScreenPtr pScreen)
KdScreenPriv(pScreen);
int i;
if (!pScreenPriv->card->cfuncs->putColors)
if (!pScreenPriv->card->cfuncs->getColors)
return;
if (pScreenPriv->screen->fb.depth <= KD_MAX_PSEUDO_DEPTH) {