summaryrefslogtreecommitdiff
path: root/backend/djvu/djvu-document.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-03-19 10:17:58 +0100
committerStefano Karapetsas <[email protected]>2014-03-19 10:17:58 +0100
commitec3b83d34ffeaf2c0d16ba013fcba64f17fab203 (patch)
tree0d4a000d647207cf3804e28c536bfc2cae905bde /backend/djvu/djvu-document.c
parent6db1758b9cad94ab491170e722ddbca6d07a672c (diff)
downloadatril-ec3b83d34ffeaf2c0d16ba013fcba64f17fab203.tar.bz2
atril-ec3b83d34ffeaf2c0d16ba013fcba64f17fab203.tar.xz
djvu: Fix case sensitive search
Closes https://github.com/mate-desktop/atril/issues/41 Closes https://github.com/mate-desktop/atril/pull/74 This commit is based on Aleksi Blinnikka one from #74
Diffstat (limited to 'backend/djvu/djvu-document.c')
-rw-r--r--backend/djvu/djvu-document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c
index 814503c1..bddcef51 100644
--- a/backend/djvu/djvu-document.c
+++ b/backend/djvu/djvu-document.c
@@ -654,7 +654,7 @@ djvu_document_find_find_text (EvDocumentFind *document,
djvu_text_page_prepare_search (tpage, case_sensitive);
if (tpage->links->len > 0) {
- djvu_text_page_search (tpage, text);
+ djvu_text_page_search (tpage, text, case_sensitive);
matches = tpage->results;
}
djvu_text_page_free (tpage);