From 60caca718d23012c4c85ce70547610fe05168342 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Fri, 15 Oct 2004 22:08:38 +0000 Subject: [PATCH] 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). --- Xprint/ps/PsColor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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