about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cpp/020run2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/020run b/cpp/020run
index 93052b52..eb1dc77d 100644
--- a/cpp/020run
+++ b/cpp/020run
@@ -100,7 +100,7 @@ inline const instruction& current_instruction() {
 }
 
 inline bool routine::completed() const {
-  return Current_routine->running_step_index >= Recipe[running_recipe].steps.size();
+  return running_step_index >= Recipe[running_recipe].steps.size();
 }
 
 :(before "End Commandline Parsing")