summaryrefslogtreecommitdiff
path: root/include/screenint.h
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 /include/screenint.h
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 'include/screenint.h')
-rw-r--r--include/screenint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/screenint.h b/include/screenint.h
index b3e76c4c2..1c836952e 100644
--- a/include/screenint.h
+++ b/include/screenint.h
@@ -104,7 +104,7 @@ extern void ResetColormapPrivates(void);
typedef struct _ColormapRec *ColormapPtr;
-typedef int (*InitCmapPrivFunc)(ColormapPtr);
+typedef int (*InitCmapPrivFunc)(ColormapPtr, int);
extern int AllocateColormapPrivateIndex(
InitCmapPrivFunc /* initPrivFunc */);