diff --git a/mozilla/extensions/typeaheadfind/nsTypeAheadFind.cpp b/mozilla/extensions/typeaheadfind/nsTypeAheadFind.cpp index 3f0e4cb61c9..67c3a946e08 100644 --- a/mozilla/extensions/typeaheadfind/nsTypeAheadFind.cpp +++ b/mozilla/extensions/typeaheadfind/nsTypeAheadFind.cpp @@ -728,6 +728,7 @@ nsresult nsTypeAheadFind::FindItNow(PRBool aIsRepeatingSameChar, PRBool aIsLinks (aIsRepeatingSameChar && !isStartingLink) || (aIsLinksOnly && !isInsideLink)) { // ------ Failure ------ // Start find again from here + returnRange->CloneRange(getter_AddRefs(startPointRange)); startPointRange->Collapse(PR_FALSE); // collapse to end continue; }