diff options
author | Egbert Eich <eich@suse.de> | 2004-07-30 21:10:46 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-07-30 21:10:46 +0000 |
commit | 0ba15599466ddb644728c6b68e64e05b1317ac2e (patch) | |
tree | a8ffa0ec4b451b03536e7a0789cfd7d20c5a8911 /lbx | |
parent | bbfe7bed3fe4d9bd089327cd59e6faedb592dabb (diff) |
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.
Diffstat (limited to 'lbx')
-rw-r--r-- | lbx/lbxcmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lbx/lbxcmap.c b/lbx/lbxcmap.c index b1366aa3f..5c2c062b3 100644 --- a/lbx/lbxcmap.c +++ b/lbx/lbxcmap.c @@ -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 |