From 9170396199f00b449d75cbba7c7c45bf8f0753f2 Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 28 Nov 2001 15:57:52 +0000 Subject: *** empty log message *** --- src/ivymon | 8 ++++---- 1 file 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); } -- cgit v1.1