summaryrefslogtreecommitdiff
path: root/lbx/lbxcmap.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-07-30 21:10:46 +0000
committerEgbert Eich <eich@suse.de>2004-07-30 21:10:46 +0000
commit0ba15599466ddb644728c6b68e64e05b1317ac2e (patch)
treea8ffa0ec4b451b03536e7a0789cfd7d20c5a8911 /lbx/lbxcmap.c
parentbbfe7bed3fe4d9bd089327cd59e6faedb592dabb (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/lbxcmap.c')
-rw-r--r--lbx/lbxcmap.c2
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