aboutsummaryrefslogtreecommitdiff
path: root/dw/findtext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/findtext.cc')
-rw-r--r--dw/findtext.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/findtext.cc b/dw/findtext.cc
index 4390e3ee..e86116f1 100644
--- a/dw/findtext.cc
+++ b/dw/findtext.cc
@@ -94,7 +94,7 @@ FindtextState::Result FindtextState::search (const char *key, bool caseSens,
if (iterator)
delete iterator;
- iterator = new CharIterator (widget);
+ iterator = new CharIterator (widget, true);
if (backwards) {
/* Go to end */
@@ -126,7 +126,7 @@ FindtextState::Result FindtextState::search (const char *key, bool caseSens,
} else {
// Nothing found anymore, reset the state for the next trial.
delete iterator;
- iterator = new CharIterator (widget);
+ iterator = new CharIterator (widget, true);
if (backwards) {
/* Go to end */
while (iterator->next ()) ;