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

New commits:
commit 7ed7fb6d2be009c5d433338a6b3da816dd38f5ca
Author: Pino Toscano <[email protected]>
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
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to