Skip to content

Commit 989a868

Browse files
committed
tiny
1 parent 7e68c34 commit 989a868

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎v3/js/opt-live.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function updateStepLabels() {
147147
} else if (myVisualizer.instrLimitReached) {
148148
$("#curInstr").html("Instruction limit reached");
149149
} else {
150-
$("#curInstr").html("Done running (" + String(totalInstrs) + " steps)");
150+
$("#curInstr").html("Done running (" + String(totalInstrs-1) + " steps)");
151151
}
152152
} else {
153153
$("#curInstr").html("Step " + String(myVisualizer.curInstr + 1) + " of " + String(totalInstrs-1));

‎v5-unity/js/opt-live.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function updateStepLabels() {
143143
} else if (myVisualizer.instrLimitReached) {
144144
$("#curInstr").html("Instruction limit reached");
145145
} else {
146-
$("#curInstr").html("Done running (" + String(totalInstrs) + " steps)");
146+
$("#curInstr").html("Done running (" + String(totalInstrs-1) + " steps)");
147147
}
148148
} else {
149149
$("#curInstr").html("Step " + String(myVisualizer.curInstr + 1) + " of " + String(totalInstrs-1));

0 commit comments

Comments
 (0)