From: Andrew R. <ar...@us...> - 2001-03-14 10:45:10
|
Update of /cvsroot/plplot/plplot/drivers In directory usw-pr-cvs1:/tmp/cvs-serv1973 Modified Files: gd.c Log Message: Fixed bug in the colourmap allocation that sometimes stopped cmap1 being properly initialised. Made driver sensitive to -ncol1, rather than have it blindly assume that ncol1 = 256 (as it was doing before). Introduced range checking to make sure the driver doesn't exceed 256 colours (will take out in GD 2 when 16.8 million collours are added to GD perhaps). |