[poppler] Branch 'poppler-0.26' - poppler/JPEG2000Stream.cc

Pino Toscano pino at kemper.freedesktop.org
Sun Oct 12 13:44:30 PDT 2014


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

New commits:
commit 9bb206fd47a240185498640b8cdd6167d65a7c2d
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 703d471..c0ada0a 100644
--- a/poppler/JPEG2000Stream.cc
+++ b/poppler/JPEG2000Stream.cc
@@ -165,13 +165,13 @@ void JPXStream::init2(unsigned char *buf, int bufLen, OPJ_CODEC_FORMAT format)
 
 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.");
   }
 }
 


More information about the poppler mailing list