diff options
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 3 |
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; |