summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-13 05:34:20 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-13 05:34:20 +0000
commiteab8baa9252019c6c70759358e167b7387c8cc42 (patch)
tree1448642cb6ec134d26e69e173e05d62ab9c81946
parentadfa61c4813352bf6c9d0f56c50b9a9049b64765 (diff)
//freedesktop.org/bugzilla/show_bug.cgi?id=1646) attachment #1116
(https://bugs.freedesktop.org/attachment.cgi?id=1116): Fix the problem that |PsCreateColormap()| returns a random value (patch by Stefan Dirsch/SuSE).
-rw-r--r--Xprint/ps/PsColor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xprint/ps/PsColor.c b/Xprint/ps/PsColor.c
index 856e8aab2..1f9842473 100644
--- a/Xprint/ps/PsColor.c
+++ b/Xprint/ps/PsColor.c
@@ -84,7 +84,7 @@ in this Software without prior written authorization from The Open Group.
Bool
PsCreateColormap(ColormapPtr pColor)
{
- miInitializeColormap(pColor);
+ return miInitializeColormap(pColor);
}
void