1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
13 |
|
#include <stdio.h> |
14 |
|
|
15 |
|
#include "color.h" |
16 |
+ |
#include "resolu.h" |
17 |
|
|
18 |
|
|
19 |
|
#define NCOLS 133 |
37 |
|
|
38 |
|
/* get picture dimensions */ |
39 |
|
if (checkheader(input, COLRFMT, NULL) < 0 || |
40 |
< |
fgetresolu(&xres, &yres, input) != (YMAJOR|YDECR)) { |
40 |
> |
fgetresolu(&xres, &yres, input) < 0) { |
41 |
|
fprintf(stderr, "%s: bad picture format\n", argv[0]); |
42 |
|
exit(1); |
43 |
|
} |