Fix crash on unended lock highlight.

This commit is contained in:
Bartosz Taudul 2017-10-26 02:06:30 +02:00
parent db48cd6c1f
commit 3163563a27

View File

@ -2320,8 +2320,8 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
if( !highlight.blocked )
{
highlight.id = v.first;
highlight.begin = (*vbegin)->time;
highlight.end = (*next)->time;
highlight.begin = t0;
highlight.end = t1;
highlight.thread = thread;
highlight.blocked = false;
}