about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-02 21:06:46 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-02 21:06:46 -0700
commit2f73654b742d2a446d2f5b2bacebda7d9b9cf457 (patch)
tree7a04a94fa941f59b8db4db7240b32b8c0825b308 /subx
parentd383ba76348117ed74e077b7cf0467851c19a0ac (diff)
downloadmu-2f73654b742d2a446d2f5b2bacebda7d9b9cf457.tar.gz
4656
Diffstat (limited to 'subx')
-rw-r--r--subx/003trace.cc3
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();
 }