diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-02-24 00:36:20 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-02-24 00:36:20 +0100 |
commit | 5d500fad85344dcad7e6c0cf0463f5d58f6acea3 (patch) | |
tree | 4492f1faf676d59a13d7a31ec1ff7fbfb02074fe | |
parent | 6f590cbb1126586da53f0b15f824d6030da6c03a (diff) | |
download | mupdf-5d500fad85344dcad7e6c0cf0463f5d58f6acea3.tar.xz |
Fixed typo in parsing of compressed xref streams.
-rw-r--r-- | mupdf/pdf_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mupdf/pdf_open.c b/mupdf/pdf_open.c index f4cc3e91..0571e561 100644 --- a/mupdf/pdf_open.c +++ b/mupdf/pdf_open.c @@ -338,8 +338,8 @@ readnewxrefsection(pdf_xref *xref, fz_stream *stm, int i0, int i1, int w0, int w { int t = w0 ? a : 1; xref->table[i].type = t == 0 ? 'f' : t == 1 ? 'n' : t == 2 ? 'o' : 0; - xref->table[i].ofs = w2 ? b : 0; - xref->table[i].gen = w1 ? c : 0; + xref->table[i].ofs = w1 ? b : 0; + xref->table[i].gen = w2 ? c : 0; } } |