summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-31 16:36:17 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-05-31 16:36:44 +0200
commit0de13ecaa1c0cc384edf8c2b104b5fa6ddc6ccfb (patch)
treee170e571fcdc546fe5eb1aff068cc05dd54f0bb0
parent42db34aa0892c86e20da1063d7e4b07383fd73fe (diff)
downloadmupdf-0de13ecaa1c0cc384edf8c2b104b5fa6ddc6ccfb.tar.xz
Fix typo in text extraction RTL pass.
-rw-r--r--fitz/text_extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/text_extract.c b/fitz/text_extract.c
index 42e1dcaa..3bb0db56 100644
--- a/fitz/text_extract.c
+++ b/fitz/text_extract.c
@@ -938,7 +938,7 @@ fz_bidi_reorder_text_page(fz_context *ctx, fz_text_page *page)
fz_text_line *line;
fz_text_span *span;
- for (pageblock = page->blocks; pageblock < page->blocks + page->len; page++)
+ for (pageblock = page->blocks; pageblock < page->blocks + page->len; pageblock++)
if (pageblock->type == FZ_PAGE_BLOCK_TEXT)
for (block = pageblock->u.text, line = block->lines; line < block->lines + block->len; line++)
for (span = line->first_span; span; span = span->next)