commit 76ef192214237a5ac11edfd9c09062131eabde12 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Fri Aug 30 15:07:03 2024 +0200
Fixup e2cf6731: fix thinko The current buffer is part of allRelatives(), contrary to what I thought. Therefore updateId() increased the buffer id by two. (cherry picked from commit 2eb4e3d3ca063d12371695282ae0bc3d9609ab06) --- src/Buffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index b32dff040e..79f41cb13f 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -821,7 +821,6 @@ int Buffer::id() const void Buffer::updateId() { - ++d->id_; for(Buffer * b : allRelatives()) ++(b->d->id_); } -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs