summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-02-25 12:46:18 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-02-25 12:46:18 +0100
commit188e4913b2bc81b9a3d46db1e299814fea0f4043 (patch)
tree51e5828fc821e1188c7cc547460d0fccbe87eacd /src
parent59bb853ee1e8293918b85e77bb1ea97f8c38785f (diff)
fix comparison (taken from pkgsrc)
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;
}