From 2eb4e3d3ca063d12371695282ae0bc3d9609ab06 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 30 Aug 2024 15:07:03 +0200 Subject: [PATCH] Fixup 999fb37e: fix thinko The current buffer is part of allRelatives(), contrary to what I thought. Therefore updateId() increased the buffer id by two. --- src/Buffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 6c5713b9c2..f473f3dc6f 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -803,7 +803,6 @@ int Buffer::id() const void Buffer::updateId() { - ++d->id_; for(Buffer * b : allRelatives()) ++(b->d->id_); } -- 2.39.5