From e0936b04c0d9b29f3fe2ecb6bc0360332230afce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 7 Jun 2022 02:21:57 +0300 Subject: [PATCH] Correct the comment --- apps/openmw/mwgui/debugwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/debugwindow.cpp b/apps/openmw/mwgui/debugwindow.cpp index 6fab0d6a24..d5b703d1fb 100644 --- a/apps/openmw/mwgui/debugwindow.cpp +++ b/apps/openmw/mwgui/debugwindow.cpp @@ -161,7 +161,7 @@ namespace MWGui std::string addition; const int64_t bufSize = sLogCircularBuffer.size(); { - // Keep log object to stay keep the lock. + // Log object is only required for locking at this point. Log log(Debug::Debug); if (sLogStartIndex < sLogEndIndex) addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);