Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick
From: swick@ATHENA.MIT.EDU (Ralph R. Swick)
Newsgroups: comp.windows.x
Subject: Re: lack of return value from Xtconvert
Message-ID: <8807151532.AA02904@LYRE.MIT.EDU>
Date: 15 Jul 88 15:32:22 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Organization: DEC/MIT Project Athena
Lines: 10


     Date:  15 Jul 88 05:41:32 GMT
     From:  VIOLET.BERKELEY.EDU!rusty@ucbvax.berkeley.edu

     The problem is that the program uses XtConvert to convert
     from a color name to a pixel value:
     ...
     but XtConvert doesn't return anything, so the program has no way of
     knowing that the color map has been exhausted.

If the conversion was not successful, the return value address will be NULL.