aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-08-19 21:56:41 +0800
committerChristian Persch <chpe@src.gnome.org>2006-08-19 21:56:41 +0800
commitf67cc88520577643c8614453693ce79515847d1e (patch)
tree128be40f927d0c9cb56daaf1409a34773db17b2b /embed
parentcf1e89dc4fe88ac30430e1cd481147319fd8ce8f (diff)
downloadgsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar.gz
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar.bz2
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar.lz
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar.xz
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.tar.zst
gsoc2013-epiphany-f67cc88520577643c8614453693ce79515847d1e.zip
YAMAC.
2006-08-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: YAMAC.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyFind.cpp10
1 files changed, 3 insertions, 7 deletions
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;
}