summaryrefslogtreecommitdiff
path: root/js/Misc/ENDBLK.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/ENDBLK.js')
-rw-r--r--js/Misc/ENDBLK.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index 91699d72..ecc38460 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -3,7 +3,7 @@ function ENDBLK() {
ENDBLK.prototype.get = function ENDBLK() {
}
ENDBLK.prototype.set = function ENDBLK() {
-for(i=1;i<=length(arg1.model.rpar.objs);i+=1) {
+for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o=arg1.model.rpar.objs(i);
if (typeof(o)=="Block"&&o.gui=="END_c") {
ppath=list(i);
@@ -12,10 +12,10 @@ break
}
newpar=list();
y=0;
-for(path in ppath) {
+for (path in ppath) {
np=size(path,"*");
spath=list();
-for(k=1;k<=np;k+=1) {
+for (k=1;k<=np;k+=1) {
spath[$+1-1]="model";
spath[$+1-1]="rpar";
spath[$+1-1]="objs";