--- ray/src/px/ra_pr24.c 1991/10/14 17:09:39 1.10 +++ ray/src/px/ra_pr24.c 1991/11/11 14:01:51 1.11 @@ -14,6 +14,8 @@ static char SCCSid[] = "$SunId$ LBL"; #include "color.h" +#include "resolu.h" + extern double atof(), pow(); double gamma = 2.2; /* gamma correction */ @@ -89,13 +91,13 @@ char *argv[]; printargs(i, argv, stdout); fputformat(COLRFMT, stdout); putchar('\n'); - fputresolu(YMAJOR|YDECR, xmax, ymax, stdout); + fprtresolu(xmax, ymax, stdout); /* convert file */ pr2ra(head.ras_type); } else { /* get header info. */ if (checkheader(stdin, COLRFMT, NULL) < 0 || - fgetresolu(&xmax, &ymax, stdin) != (YMAJOR|YDECR)) + fgetresolu(&xmax, &ymax, stdin) < 0) quiterr("bad picture format"); /* write rasterfile header */ head.ras_magic = RAS_MAGIC;