summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PostscriptDSC.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PostscriptDSC.cxx b/src/PostscriptDSC.cxx
index aa23430..a4beb04 100644
--- a/src/PostscriptDSC.cxx
+++ b/src/PostscriptDSC.cxx
@@ -127,7 +127,7 @@ PostscriptDSC::parse(int fd) {
fprintf(stderr, "Page %d already defined\n", p1);
return 1;
}
- if (p1 > 1 && page_off[p1 - 2] == NULL) {
+ if (p1 > 1 && page_off[p1 - 2] == 0) {
fprintf(stderr, "Page %d not yet defined\n", p1 - 1);
return 1;
}