From c526bd6ff8f99785f614c03cca160391ae74369d Mon Sep 17 00:00:00 2001 From: RighthandSon <59427094+RighthandSon@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:48:26 -0500 Subject: [PATCH] change savemsg to be different based on tab --- src/bzflag/ControlPanel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bzflag/ControlPanel.cxx b/src/bzflag/ControlPanel.cxx index e097b4e90b..8729ca53e7 100644 --- a/src/bzflag/ControlPanel.cxx +++ b/src/bzflag/ControlPanel.cxx @@ -941,8 +941,8 @@ void ControlPanel::saveMessages(const std::string& filename, fprintf(file, "----------------------------------------\n\n"); // Iterate through the 'All' tab messages - std::deque::const_iterator msg = messages[MessageAll].begin()++; - for (; msg != messages[MessageAll].end(); ++msg) + std::deque::const_iterator msg = messages[messageMode].begin()++; + for (; msg != messages[messageMode].end(); ++msg) { const std::string line = msg->getString(timestamp); if (stripAnsi)