That's not correct,  Pino
If you take a deeper look at this error message, the %d is not a
placeholder for a number, the percent sign should be printed. And to asure
this it's escaped by a second percent sign.

Cheers,
Thomas

Am 09.10.2016 13:05 schrieb "Pino Toscano" <[email protected]>:

 utils/pdfseparate.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5d15a52aade68c618c356fe403ca500e74917ef7
Author: Pino Toscano <[email protected]>
Date:   Sun Oct 9 13:04:46 2016 +0200

    pdfseparate: remove extra '%' in error message

diff --git a/utils/pdfseparate.cc b/utils/pdfseparate.cc
index 9fa7052..469f568 100644
--- a/utils/pdfseparate.cc
+++ b/utils/pdfseparate.cc
@@ -97,7 +97,7 @@ bool extractPages (const char *srcFileName, const char
*destFileName) {
     }
   }
   if (!foundmatch && firstPage != lastPage) {
-    error(errSyntaxError, -1, "'{0:s}' must contain '%%d' if more than one
page should be extracted", destFileName);
+    error(errSyntaxError, -1, "'{0:s}' must contain '%d' if more than one
page should be extracted", destFileName);
     free(auxDestFileName);
     delete doc;
     return false;
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to