Path: utzoo!attcan!uunet!samsung!usc!ucsd!ucbvax!bloom-beacon!imf.unit.no!joern From: joern@imf.unit.no Newsgroups: comp.windows.x Subject: XPR bug Message-ID: <9007200837.AA00676@jokseren> Date: 20 Jul 90 08:53:30 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 The following statement from the convert_data function seems to be pretty bugious to mee: if ((win->ncolors == 0) || (win->visual_class = DirectColor)) direct = 1; I would like an additional '=' into the visual class test. Please note that the '()' enclosing the n of colors and the visual class tests are superfluous. This branch is into the 'TrueColor || DirectColor' branch of convert_data. I'm not sure if this is well known to the X community; if so, please forget about this. Joern Amundsen SINTEF, Norway