about summary refs log tree commit diff stats
path: root/058to_text.cc
diff options
context:
space:
mode:
Diffstat (limited to '058to_text.cc')
-rw-r--r--058to_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/058to_text.cc b/058to_text.cc
index e845218c..8c86e36c 100644
--- a/058to_text.cc
+++ b/058to_text.cc
@@ -9,7 +9,7 @@ put(Recipe_ordinal, "to-text", TO_TEXT);
 :(before "End Primitive Recipe Checks")
 case TO_TEXT: {
   if (SIZE(inst.ingredients) != 1) {
-    raise << maybe(get(Recipe, r).name) << "'to-text' requires a single ingredient, but got '" << inst.original_string << "'\n" << end();
+    raise << maybe(get(Recipe, r).name) << "'to-text' requires a single ingredient, but got '" << to_original_string(inst) << "'\n" << end();
     break;
   }
   // can handle any type