mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-10 04:37:15 +00:00
kdrive: fix incorrect NULL-check
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
parent
c91ff8308f
commit
2884ede393
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue