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 /include/screenint.h | |
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 'include/screenint.h')
-rw-r--r-- | include/screenint.h | 2 |
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 */); |