fix plot bug

No idea whether it matters; hopefully this code goes away soon.
The bug was pointed out by clang.
This commit is contained in:
Matthew Flatt 2011-09-09 20:49:08 -06:00
parent 446fb89af1
commit b1417cd9f9

View File

@ -768,7 +768,7 @@ c_plot3dc(PLFLT *x, PLFLT *y, PLFLT **z,
ny = _ny;
}
if ((opt & BASE_CONT) || (opt & TOP_CONT) || (opt && MAG_COLOR) ) {
if ((opt & BASE_CONT) || (opt & TOP_CONT) || (opt & MAG_COLOR) ) {
/*
* Don't use the data z value to scale the color, use the z axis
* values set by plw3d()