mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix message deleting bug
This commit is contained in:
parent
bc207aeede
commit
51e5d198fb
|
@ -47,7 +47,7 @@ public:
|
|||
auto newVector = std::make_shared<std::vector<T>>();
|
||||
newVector->reserve(_limit + _buffer);
|
||||
|
||||
for (unsigned int i = 0; i < _limit - 1; i++) {
|
||||
for (unsigned int i = 0; i < _limit; ++i) {
|
||||
newVector->push_back(_vector->at(i + _offset));
|
||||
}
|
||||
newVector->push_back(item);
|
||||
|
|
Loading…
Reference in a new issue