From e85a67b5fd601ab1545cc9fe451c0ff91446600f Mon Sep 17 00:00:00 2001 From: "aaronl%netscape.com" Date: Sun, 8 Sep 2002 06:47:54 +0000 Subject: [PATCH] Fix bustage - nsITimer interface changed git-svn-id: svn://10.0.0.236/trunk@129060 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/typeaheadfind/src/nsTypeAheadFind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/typeaheadfind/src/nsTypeAheadFind.cpp b/mozilla/extensions/typeaheadfind/src/nsTypeAheadFind.cpp index 0bfba20b397..81c8f8a8b18 100644 --- a/mozilla/extensions/typeaheadfind/src/nsTypeAheadFind.cpp +++ b/mozilla/extensions/typeaheadfind/src/nsTypeAheadFind.cpp @@ -560,7 +560,7 @@ nsTypeAheadFind::KeyPress(nsIDOMEvent* aEvent) // If they're just quickly mashing keys onto the keyboard, stop searching // until typeahead find is canceled via timeout or another normal means if (mTimer) { - mTimer->Init(this, mTimeoutLength); // Timeout from last bad key (this one) + mTimer->Init(this, mTimeoutLength, nsITimer::TYPE_ONE_SHOT); // Timeout from last bad key (this one) } DisplayStatus(PR_FALSE, nsnull, PR_TRUE); // Status message to say find stopped return NS_OK;