diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-24 15:36:12 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-24 15:36:12 -0800 |
commit | e94453100dda87a42dee36b2671f850ab6824f54 (patch) | |
tree | 38f0b8c39ea1ee2f8ec16536d07430c29cb07a45 /003trace.cc | |
parent | 7874586ebdbe4d57dff167d80f9f6d59056d3c73 (diff) | |
download | mu-e94453100dda87a42dee36b2671f850ab6824f54.tar.gz |
2547
Diffstat (limited to '003trace.cc')
-rw-r--r-- | 003trace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/003trace.cc b/003trace.cc index 965940a8..5b48f1c4 100644 --- a/003trace.cc +++ b/003trace.cc @@ -255,7 +255,7 @@ int trace_count(string label, string line) { long result = 0; for (vector<trace_line>::iterator p = Trace_stream->past_lines.begin(); p != Trace_stream->past_lines.end(); ++p) { if (label == p->label) { - if (line == "" || line == trim(p->contents)) + if (line == "" || trim(line) == trim(p->contents)) ++result; } } |