1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 19:20:49 +00:00

Correct the comment

This commit is contained in:
ζeh Matt 2022-06-07 02:21:57 +03:00
parent 38b6927b31
commit e0936b04c0
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

View File

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