mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 12:25:07 +00:00
kdrive: fix incorrect NULL-check
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
c91ff8308f
commit
2884ede393
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user