diff options
Diffstat (limited to 'subx')
-rw-r--r-- | subx/003trace.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/003trace.cc b/subx/003trace.cc index da5f3807..22622930 100644 --- a/subx/003trace.cc +++ b/subx/003trace.cc @@ -165,9 +165,8 @@ string trace_stream::readable_contents(string label) { ostringstream output; label = trim(label); for (vector<trace_line>::iterator p = past_lines.begin(); p != past_lines.end(); ++p) - if (label.empty() || label == p->label) { + if (label.empty() || label == p->label) output << std::setw(4) << p->depth << ' ' << p->label << ": " << p->contents << '\n'; - } return output.str(); } |