oops, it did not erase, but it did not skip.
This commit is contained in:
+2
-1
@@ -351,8 +351,9 @@ void TimingData::AddSegment( const TimingSegment *seg )
|
|||||||
prev = vSegs[index - 1];
|
prev = vSegs[index - 1];
|
||||||
|
|
||||||
// if true, this is redundant segment change
|
// if true, this is redundant segment change
|
||||||
if( prev != cur && (*prev) == (*seg) )
|
if( (*prev) == (*seg) )
|
||||||
{
|
{
|
||||||
|
if( prev != cur )
|
||||||
EraseSegment( vSegs, index, cur );
|
EraseSegment( vSegs, index, cur );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user