]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
Clarify some comments.
[lyx.git] / src / lyxfind.cpp
index 77b48cf8e000aa2f9e178d69efe406c5bc9af49a..d5653a6feb10a17779f1235185951357ad9042fd 100644 (file)
@@ -377,7 +377,7 @@ bool findChange(BufferView * bv, bool next)
        // clear the selection and search the other way around (see the end
        // of this function). This will avoid changes to be selected half.
        bool search_both_sides = false;
-       if (cur.pos() > 1) {
+       if (cur.pos() > 0) {
                Change change_next_pos
                        = cur.paragraph().lookupChange(cur.pos());
                Change change_prev_pos