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);