From: Soeren Apel <[email protected]>
---
pv/popups/probes.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pv/popups/probes.cpp b/pv/popups/probes.cpp
index fc069b8..a20dfcc 100644
--- a/pv/popups/probes.cpp
+++ b/pv/popups/probes.cpp
@@ -63,6 +63,7 @@ Probes::Probes(SigSession &session, QWidget *parent) :
// Collect a set of signals
map<const sr_channel*, shared_ptr<Signal> > signal_map;
const vector< shared_ptr<Signal> > sigs = _session.get_signals();
+
for (const shared_ptr<Signal> &sig : sigs)
signal_map[sig->probe()] = sig;
@@ -73,7 +74,7 @@ Probes::Probes(SigSession &session, QWidget *parent) :
(const sr_channel_group*)g->data;
assert(group);
- // Make a set of signals, and removed this signals from the
+ // Make a set of signals and remove these signals from the
// signal map.
vector< shared_ptr<Signal> > group_sigs;
for (const GSList *p = group->channels; p; p = p->next)
--
1.7.8.6
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel