diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 0c10e1980d..6b9556e879 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -400,7 +400,7 @@ bool findChange(DocIterator & cur, bool next) if (!next) // if we search backwards, take a step forward // to correctly set the anchor - cur.forwardPos(); + cur.top().forwardPos(); return true; }