]> sigrok.org Git - pulseview.git/commitdiff
Fix some disappearing annotations
authorJoel Holdsworth <redacted>
Sun, 9 Feb 2014 19:09:59 +0000 (19:09 +0000)
committerJoel Holdsworth <redacted>
Sun, 9 Feb 2014 19:14:12 +0000 (19:14 +0000)
pv/data/decode/rowdata.cpp

index b1c256acb414878b574995f01f878b7a1298d591..87da27cf5ce9d724e214f880f625a67eadc2c49a 100644 (file)
@@ -44,7 +44,7 @@ void RowData::get_annotation_subset(
        for (vector<Annotation>::const_iterator i = _annotations.begin();
                i != _annotations.end(); i++)
                if ((*i).end_sample() > start_sample &&
-                       (*i).start_sample() < end_sample)
+                       (*i).start_sample() <= end_sample)
                        dest.push_back(*i);
 }