Outer loop check is no longer needed.

This commit is contained in:
Bartosz Taudul 2017-10-28 14:15:18 +02:00
parent 25e9ae4b68
commit 591da109a8

View File

@ -2306,7 +2306,7 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
}
}
while( vbegin < vend )
for(;;)
{
while( vbegin < vend && ( state == LockState::Nothing || ( m_onlyContendedLocks && state == LockState::HasLock ) ) )
{