[poppler] utils/pdfseparate.cc
Thomas Freitag
thomas.freitag.bbr at gmail.com
Sun Oct 9 13:30:44 UTC 2016
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" <pino at kemper.freedesktop.org>:
utils/pdfseparate.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5d15a52aade68c618c356fe403ca500e74917ef7
Author: Pino Toscano <pino at kde.org>
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
poppler at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20161009/99bee030/attachment.html>
More information about the poppler
mailing list