Skip to content

Commit

Permalink
fix message combining when "combine all messages" is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Artenuvielle committed Feb 20, 2024
1 parent e4fa634 commit cdc079a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScrollArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void GW2_SCT::ScrollArea::receiveMessage(std::shared_ptr<EventMessage> m) {
}
}
} else {
auto backMessage = messageQueue.rend();
auto backMessage = messageQueue.rbegin();
if (backMessage->options == receiver && backMessage->message->tryToCombineWith(m)) {
backMessage->update();
mlock.unlock();
Expand Down

0 comments on commit cdc079a

Please sign in to comment.