Commit 5b0fb6f9 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix format printing

parent c21b08a2
......@@ -2701,7 +2701,7 @@ inline void JBIG2Stream::mmrAddPixels(int a1, int blackPixels,
int *codingLine, int *a0i, int w) {
if (a1 > codingLine[*a0i]) {
if (a1 > w) {
error(getPos(), "JBIG2 MMR row is wrong length ({0:d})", a1);
error(getPos(), "JBIG2 MMR row is wrong length (%d)", a1);
a1 = w;
}
if ((*a0i & 1) ^ blackPixels) {
......@@ -2715,7 +2715,7 @@ inline void JBIG2Stream::mmrAddPixelsNeg(int a1, int blackPixels,
int *codingLine, int *a0i, int w) {
if (a1 > codingLine[*a0i]) {
if (a1 > w) {
error(getPos(), "JBIG2 MMR row is wrong length ({0:d})", a1);
error(getPos(), "JBIG2 MMR row is wrong length (%d)", a1);
a1 = w;
}
if ((*a0i & 1) ^ blackPixels) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment