summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2014-10-12 22:43:22 +0200
committerPino Toscano <pino@kde.org>2014-10-12 22:43:22 +0200
commit9bb206fd47a240185498640b8cdd6167d65a7c2d (patch)
treedd4775e5d0f7d2a782694e319a631be7a0fae46e
parent8d96350a19a6a3220fce8cbebced16696ec3cabf (diff)
Fix typos in error messagespoppler-0.26
Reported by Jakub Wilk, thanks!
-rw-r--r--poppler/JPEG2000Stream.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/JPEG2000Stream.cc b/poppler/JPEG2000Stream.cc
index 703d471c..c0ada0ac 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.");
}
}