mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-19 16:21:08 +00:00
Correct the comment
This commit is contained in:
parent
38b6927b31
commit
e0936b04c0
@ -161,7 +161,7 @@ namespace MWGui
|
|||||||
std::string addition;
|
std::string addition;
|
||||||
const int64_t bufSize = sLogCircularBuffer.size();
|
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);
|
Log log(Debug::Debug);
|
||||||
if (sLogStartIndex < sLogEndIndex)
|
if (sLogStartIndex < sLogEndIndex)
|
||||||
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user