Lines Matching refs:maximum
289 int top, size, maximum, old_max;
298 maximum = val3;
304 fprintf( stderr, "\tmaximum\t\t%d\n", maximum );
310 if ( top >= maximum ) {
312 fprintf( stderr, "Correcting for top >= maximum\n" );
314 maximum = top + 1;
321 if ( top+size >= maximum ) {
323 fprintf( stderr, "Correcting for top+size >= maximum\n" );
325 size = maximum - top;
328 /* need to increase the maximum before changing the values */
330 if ( maximum > old_max )
331 XtVaSetValues( __vi_screen->scroll, XmNmaximum, maximum, 0 );
342 /* need to decrease the maximum after changing the values */
343 if ( maximum < old_max )
344 XtVaSetValues( __vi_screen->scroll, XmNmaximum, maximum, 0 );