pkgsrc/print/flpsed/patches/patch-aa

14 lines
448 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.1.1.1 2007/02/23 21:32:07 agc Exp $
--- src/PostscriptDSC.cxx 2007/02/23 12:17:40 1.1
+++ src/PostscriptDSC.cxx 2007/02/23 12:17:54
@@ -127,7 +127,7 @@
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;
}