mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Why was there a 1 ? We only have to make sure that pos - 1 >= 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1d2cf2771a
commit
b0910eb6d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user