| 129 | 
  | 
                fputs(input[nfiles].name, stdout); | 
| 130 | 
  | 
                fputs(":\n", stdout); | 
| 131 | 
  | 
                getheader(input[nfiles].fp, tputs); | 
| 132 | 
< | 
                if (fscanf(input[nfiles].fp, "-Y %d +X %d\n", &ypos, &xpos) != 2) { | 
| 132 | 
> | 
                if (fgetresolu(&xpos, &ypos, input[nfiles].fp) != | 
| 133 | 
> | 
                                (YMAJOR|YDECR)) { | 
| 134 | 
  | 
                        eputs(input[nfiles].name); | 
| 135 | 
  | 
                        eputs(": bad picture size\n"); | 
| 136 | 
  | 
                        quit(1); | 
| 148 | 
  | 
        } | 
| 149 | 
  | 
        printargs(argc, argv, stdout); | 
| 150 | 
  | 
        putchar('\n'); | 
| 151 | 
< | 
        printf("-Y %d +X %d\n", yres, xres); | 
| 151 | 
> | 
        fputresolu(YMAJOR|YDECR, xres, yres, stdout); | 
| 152 | 
  | 
        combine(); | 
| 153 | 
  | 
        quit(0); | 
| 154 | 
  | 
usage: |