about summary refs log tree commit diff stats
path: root/062convert_ingredients_to_text.cc
diff options
context:
space:
mode:
Diffstat (limited to '062convert_ingredients_to_text.cc')
-rw-r--r--062convert_ingredients_to_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/062convert_ingredients_to_text.cc b/062convert_ingredients_to_text.cc
index 94ff5df3..cf639b9e 100644
--- a/062convert_ingredients_to_text.cc
+++ b/062convert_ingredients_to_text.cc
@@ -86,7 +86,7 @@ void convert_ingredients_to_text(recipe& caller) {
         convert_ingredient_to_text(inst.ingredients.at(j), new_instructions, ingredient_name.str());
       }
     }
-    else if (inst.old_name == "append") {
+    else if (inst.name_before_rewrite == "append") {
       // override only variants that try to append to a string
       // Beware: this hack restricts how much 'append' can be overridden. Any
       // new variants that match: