[poppler] utils/pdftohtml.cc utils/pdftops.cc utils/pdftotext.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 30 08:41:20 UTC 2018


 utils/pdftohtml.cc |    2 +-
 utils/pdftops.cc   |    2 +-
 utils/pdftotext.cc |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a6aee51c1be09dcef03c1dfe924752bbb211ae6a
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Wed Nov 28 20:36:50 2018 +0100

    Fix typos in utils.

diff --git a/utils/pdftohtml.cc b/utils/pdftohtml.cc
index aa804e8a..33f6219e 100644
--- a/utils/pdftohtml.cc
+++ b/utils/pdftohtml.cc
@@ -295,7 +295,7 @@ int main(int argc, char *argv[]) {
     }
     delete tmp;
   } else if (fileName->cmp("fd://0") == 0) {
-      error(errCommandLine, -1, "You have to provide an output filename when reading form stdin.");
+      error(errCommandLine, -1, "You have to provide an output filename when reading from stdin.");
       goto error;
   } else {
     const char *p = fileName->c_str() + fileName->getLength() - 4;
diff --git a/utils/pdftops.cc b/utils/pdftops.cc
index 6c4974e2..d3d8ffc3 100644
--- a/utils/pdftops.cc
+++ b/utils/pdftops.cc
@@ -348,7 +348,7 @@ int main(int argc, char *argv[]) {
   if (argc == 3) {
     psFileName = new GooString(argv[2]);
   } else if (fileName->cmp("fd://0") == 0) {
-    error(errCommandLine, -1, "You have to provide an output filename when reading form stdin.");
+    error(errCommandLine, -1, "You have to provide an output filename when reading from stdin.");
     goto err1;
   } else {
     const char *p = fileName->c_str() + fileName->getLength() - 4;
diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index 7d79cb94..34b8f87d 100644
--- a/utils/pdftotext.cc
+++ b/utils/pdftotext.cc
@@ -287,7 +287,7 @@ int main(int argc, char *argv[]) {
   if (argc == 3) {
     textFileName = new GooString(argv[2]);
   } else if (fileName->cmp("fd://0") == 0) {
-     error(errCommandLine, -1, "You have to provide an output filename when reading form stdin.");
+     error(errCommandLine, -1, "You have to provide an output filename when reading from stdin.");
      goto err2;
   } else {
     const char *p = fileName->c_str() + fileName->getLength() - 4;


More information about the poppler mailing list