Changelog for HylaFAX 4.2.2
+* correct cover sheet page count for some PDFs (14 Jul 2005)
* fix job blocking (concurrent call) handling, especially
as dealing with batches (13 Jul 2003)
* fix job modifications on batched, running jobs (13 Jul 2005)
endbuf = cp+len; // Will only change on the last pass.
cp = line;
while ((cp = (char *) memchr((const char*) cp, '/', endbuf-cp-slen))) {
- if ((memcmp(cp, "/Type /Page", slen-1) == 0) && (*(cp+slen-1) != 's'))
+ if (((memcmp(cp, "/Type /Page", slen-1) == 0) || (memcmp(cp, "/Type/Page", slen-2) == 0)) && (*(cp+slen-1) != 's'))
npages++;
cp++;
}