[poppler] poppler/JPEG2000Stream.cc

Pino Toscano pino at kemper.freedesktop.org
Thu Dec 10 00:30:40 PST 2015


 poppler/JPEG2000Stream.cc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7ed7fb6d2be009c5d433338a6b3da816dd38f5ca
Author: Pino Toscano <pino at kde.org>
Date:   Sun Oct 12 22:43:22 2014 +0200

    Fix typos in error messages
    
    Reported by Jakub Wilk, thanks!

diff --git a/poppler/JPEG2000Stream.cc b/poppler/JPEG2000Stream.cc
index 35e98b8..9c47c3c 100644
--- a/poppler/JPEG2000Stream.cc
+++ b/poppler/JPEG2000Stream.cc
@@ -252,13 +252,13 @@ void JPXStreamPrivate::init2(unsigned char *buf, int bufLen, OPJ_CODEC_FORMAT fo
 
 error:
   if (format == CODEC_JP2) {
-    error(errSyntaxWarning, -1, "Did no succeed opening JPX Stream as JP2, trying as J2K.");
+    error(errSyntaxWarning, -1, "Did not succeed opening JPX Stream as JP2, trying as J2K.");
     init2(buf, bufLen, CODEC_J2K);
   } else if (format == CODEC_J2K) {
-    error(errSyntaxWarning, -1, "Did no succeed opening JPX Stream as J2K, trying as JPT.");
+    error(errSyntaxWarning, -1, "Did not succeed opening JPX Stream as J2K, trying as JPT.");
     init2(buf, bufLen, CODEC_JPT);
   } else {
-    error(errSyntaxError, -1, "Did no succeed opening JPX Stream.");
+    error(errSyntaxError, -1, "Did not succeed opening JPX Stream.");
   }
 }
 #endif


More information about the poppler mailing list