summaryrefslogtreecommitdiff
path: root/android/src
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-08-14 11:33:40 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-08-14 11:33:40 +0100
commitd2741941089213e5cb1e0ab76035dda1ad4c3e01 (patch)
tree3e17326fb5b83146781e0b4c6dee2b16afa4475c /android/src
parent0e1679bdfb9adaee44cb66f533558de1c031cd4a (diff)
downloadmupdf-d2741941089213e5cb1e0ab76035dda1ad4c3e01.tar.xz
Fix bug 693227: Counter intuitive message on searching to last page
Now selects between displaying "Text not found" and "No further occurences found"
Diffstat (limited to 'android/src')
-rw-r--r--android/src/com/artifex/mupdf/MuPDFActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/artifex/mupdf/MuPDFActivity.java b/android/src/com/artifex/mupdf/MuPDFActivity.java
index 14c189ae..aac5a6b5 100644
--- a/android/src/com/artifex/mupdf/MuPDFActivity.java
+++ b/android/src/com/artifex/mupdf/MuPDFActivity.java
@@ -690,7 +690,7 @@ public class MuPDFActivity extends Activity
// via overridden onChildSetup method.
mDocView.resetupChildren();
} else {
- mAlertBuilder.setTitle(R.string.text_not_found);
+ mAlertBuilder.setTitle(SearchTaskResult.get() == null ? R.string.text_not_found : R.string.no_further_occurences_found);
AlertDialog alert = mAlertBuilder.create();
alert.setButton(AlertDialog.BUTTON_POSITIVE, "Dismiss",
(DialogInterface.OnClickListener)null);