--- MITgcm_contrib/darwinview/src/darwin.c 2007/08/01 18:04:15 1.7 +++ MITgcm_contrib/darwinview/src/darwin.c 2007/08/03 14:37:15 1.8 @@ -51,8 +51,8 @@ } void display(){ // called on glutPostRedisplay - int i, j, h, ioff, q; - float r, g, b, k, y; + int i, h, ioff, q; + float r, g, b, k, y, j, tmp; double num, logmx, logmn; char str[MAX]; @@ -91,9 +91,11 @@ } } - if( scaledepth && xz || scaledepth && yz ) ymax=totaldepth; - ioff=0; h=0; // ioff will count both i&j b/c data is 1D - for( j=0; j