mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Can't modify both variables.
This commit is contained in:
parent
d1c43ef917
commit
5deb1c51dd
@ -2119,7 +2119,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover )
|
|||||||
while( tmp != end )
|
while( tmp != end )
|
||||||
{
|
{
|
||||||
if( tmp->val < min ) min = tmp->val;
|
if( tmp->val < min ) min = tmp->val;
|
||||||
if( tmp->val > max ) max = tmp->val;
|
else if( tmp->val > max ) max = tmp->val;
|
||||||
++tmp;
|
++tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user