diff options
Diffstat (limited to 'converter/pgm/sbigtopgm.c')
-rw-r--r-- | converter/pgm/sbigtopgm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pgm/sbigtopgm.c b/converter/pgm/sbigtopgm.c index c6785152..228b71b3 100644 --- a/converter/pgm/sbigtopgm.c +++ b/converter/pgm/sbigtopgm.c @@ -124,7 +124,7 @@ int main(argc, argv) } *cp = 0; if (strncmp(hdr, "ST-", 3) == 0 || - (hdr == &hdr[0] && strstr(hdr,"Image") != NULL)) { + (hdr == &header[0] && strstr(hdr,"Image") != NULL)) { char *ep = strchr(hdr + 3, ' '); if (ep != NULL) { |