summaryrefslogtreecommitdiff
path: root/js/Misc/DEBUG.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/DEBUG.js')
-rw-r--r--js/Misc/DEBUG.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index 8f37e923..7a36654c 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -6,7 +6,7 @@ DEBUG.prototype.set = function DEBUG() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
-textmp=exprs(2);
+textmp=exprs[2-1];
ok=true;
while (1==1) {
[txt]=dialog(["Enter scilab instructions for debugging."," Inputs are block and flag, output is block"],textmp);