[comp.windows.x] XPR bug

joern@imf.unit.no (07/20/90)

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