| 31 |  |  | 
| 32 |  | int     nfiles;                         /* number of input files */ | 
| 33 |  |  | 
| 34 | < | VIEW    commvw;                         /* common view parameters */ | 
| 34 | > | VIEW    *commvp = NULL;                 /* common view parameters */ | 
| 35 |  |  | 
| 36 |  | char    ourfmt[LPICFMT+1] = PICFMT;     /* input picture format */ | 
| 37 |  |  | 
| 233 |  | } | 
| 234 |  | /* complete header */ | 
| 235 |  | printargs(argc, argv, stdout); | 
| 236 | < | if (commvw.type) { | 
| 236 | > | if (commvp != NULL) { | 
| 237 |  | fputs(VIEWSTR, stdout); | 
| 238 | < | fprintview(&commvw, stdout); | 
| 238 | > | fprintview(commvp, stdout); | 
| 239 |  | fputc('\n', stdout); | 
| 240 |  | } | 
| 241 |  | if (strcmp(ourfmt, PICFMT)) | 
| 316 |  | } | 
| 317 |  | if (!gotview || setview(&input[nfiles].vw) != NULL) | 
| 318 |  | input[nfiles].vw.type = 0; | 
| 319 | < | else if (!commvw.type) | 
| 320 | < | commvw = input[nfiles].vw; | 
| 319 | > | else if (commvp == NULL) | 
| 320 | > | commvp = &input[nfiles].vw; | 
| 321 |  | if (!fgetsresolu(&input[nfiles].rs, input[nfiles].fp)) { | 
| 322 |  | eputs(input[nfiles].name); | 
| 323 |  | eputs(": bad picture size\n"); |