From f67cc88520577643c8614453693ce79515847d1e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 19 Aug 2006 13:56:41 +0000 Subject: YAMAC. 2006-08-19 Christian Persch * embed/mozilla/EphyFind.cpp: YAMAC. --- embed/mozilla/EphyFind.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'embed/mozilla') diff --git a/embed/mozilla/EphyFind.cpp b/embed/mozilla/EphyFind.cpp index cfc394e7e..8bce566be 100644 --- a/embed/mozilla/EphyFind.cpp +++ b/embed/mozilla/EphyFind.cpp @@ -206,19 +206,15 @@ EphyFind::FindAgain (PRBool aForward) nsresult rv; PRUint16 found = nsITypeAheadFind::FIND_NOTFOUND; - if (aForward) { #ifdef HAVE_GECKO_1_9 - rv = mFinder->FindNext (mHasFocus, &found); + rv = mFinder->FindAgain (aForward, mHasFocus, &found); #else + if (aForward) { rv = mFinder->FindNext (&found); -#endif } else { -#ifdef HAVE_GECKO_1_9 - rv = mFinder->FindPrevious (mHasFocus, &found); -#else rv = mFinder->FindPrevious (&found); -#endif } +#endif return (EphyEmbedFindResult) found; } -- cgit v1.2.3