Update of /src/master/dx/src/exec/libdx
In directory opendx.watson.ibm.com:/tmp/cvs-serv23456
Modified Files:
displayx.c
Log Message:
Correct a mistake I introduced. When adding to a pointer, as long as the
pointer has its type known correctly, then adding 1 adds the size of the
pointer type. I assumed that the pointer addition was similar to that of
void *, but it is not since the XColor is defined. This reverts the code
back to original form and should fix some problems some people on 8 bit
displays are having. Now to find why the original code core dumps on AIX
in the 8 bit display arena.