summaryrefslogtreecommitdiff
path: root/Xprint
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-10-15 22:08:38 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-10-15 22:08:38 +0000
commit60caca718d23012c4c85ce70547610fe05168342 (patch)
treec1226ad49d7c127bda1e296cedfd99aa53ae432c /Xprint
parent4782b2f7c10708f9662d9fc743c692d0bec85743 (diff)
Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1646 - Fix the
problem that |PsCreateColormap()| returns a random value (patch by Stefan Dirsch/SuSE).
Diffstat (limited to 'Xprint')
-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