mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
Adding a colormap index to the InitColormapPrivate() func call. Without it
it was completely useless.
test if colormap with index really exists in the list of installed maps
before using it.
This commit is contained in:
parent
bbfe7bed3f
commit
0ba1559946
6 changed files with 19 additions and 10 deletions
|
|
@ -104,7 +104,7 @@ LbxColormapPrivInit (ColormapPtr pmap)
|
|||
|
||||
|
||||
static int
|
||||
LbxDefCmapPrivInit (ColormapPtr pmap)
|
||||
LbxDefCmapPrivInit (ColormapPtr pmap, int index)
|
||||
{
|
||||
#if 0
|
||||
/* BUG: You can't do that. lbxColormapPrivIndex hasn't
|
||||
|
|
|
|||
Loading…
Reference in a new issue