From 76ef192214237a5ac11edfd9c09062131eabde12 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 30 Aug 2024 15:07:03 +0200 Subject: [PATCH] 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_); }