about summary refs log tree commit diff stats
path: root/010vm.cc
diff options
context:
space:
mode:
Diffstat (limited to '010vm.cc')
-rw-r--r--010vm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc
index fea11a50..d23a9fbd 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -628,7 +628,8 @@ string to_original_string(const instruction& inst) {
     out << inst.products.at(i).original_string;
   }
   if (!inst.products.empty()) out << " <- ";
-  out << inst.name << ' ';
+  out << inst.name;
+  if (!inst.ingredients.empty()) out << ' ';
   for (int i = 0;  i < SIZE(inst.ingredients);  ++i) {
     if (i > 0) out << ", ";
     out << inst.ingredients.at(i).original_string;
='n101' href='#n101'>101 102 103 104 105 106 107 108 109