Fixup 999fb37e: fix thinko

The current buffer is part of allRelatives(), contrary to what I
thought. Therefore updateId() increased the buffer id by two.
This commit is contained in:
Jean-Marc Lasgouttes 2024-08-30 15:07:03 +02:00
parent 53c8e0b77d
commit 2eb4e3d3ca

View File

@ -803,7 +803,6 @@ int Buffer::id() const
void Buffer::updateId()
{
++d->id_;
for(Buffer * b : allRelatives())
++(b->d->id_);
}