aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EphyFind.cpp10
2 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index ac21d577a..f1e1873b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-19 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/EphyFind.cpp:
+
+ YAMAC.
+
2006-08-18 Christian Persch <chpe@cvs.gnome.org>
* data/default-prefs-common.js:
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;
}