From: Joel Holdsworth Date: Sun, 9 Feb 2014 19:09:59 +0000 (+0000) Subject: Fix some disappearing annotations X-Git-Tag: pulseview-0.2.0~81 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1aef69f9792d8c032269afd6cfb2122b125aea4d;p=pulseview.git Fix some disappearing annotations --- diff --git a/pv/data/decode/rowdata.cpp b/pv/data/decode/rowdata.cpp index b1c256ac..87da27cf 100644 --- a/pv/data/decode/rowdata.cpp +++ b/pv/data/decode/rowdata.cpp @@ -44,7 +44,7 @@ void RowData::get_annotation_subset( for (vector::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); }