summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/ivymon8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ivymon b/src/ivymon
index 5d52616..24b1a21 100755
--- a/src/ivymon
+++ b/src/ivymon
@@ -1272,10 +1272,10 @@ sub searchNext {
if ($index) {
&highlightString($index, "$index + $strlen chars");
$messagesText->see($index);
- $searchString = $messagesText->get($index, "$index + $strlen chars");
- $searchIndex = $index;
&warning1($messagesText) if defined($searchIndex) and
$messagesText->compare($index, "<=" ,$searchIndex);
+ $searchString = $messagesText->get($index, "$index + $strlen chars");
+ $searchIndex = $index;
} else {
&warning2($messagesText);
}
@@ -1299,10 +1299,10 @@ sub searchPrev {
if ($index) {
&highlightString($index, "$index + $strlen chars");
$messagesText->see($index);
- $searchString = $messagesText->get($index, "$index + $strlen chars");
- $searchIndex = $index;
&warning1($messagesText) if defined($searchIndex) and
$messagesText->compare($index, ">=" ,$searchIndex);
+ $searchString = $messagesText->get($index, "$index + $strlen chars");
+ $searchIndex = $index;
} else {
&warning2($messagesText);
}