summaryrefslogtreecommitdiff
path: root/js/IntegerOp/CONVERT.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 17:30:31 +0530
committerSunil Shetye2018-06-18 20:30:18 +0530
commitcd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76 (patch)
tree56407047bba37f94b7b5f00890b4385cefa502fd /js/IntegerOp/CONVERT.js
parent0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (diff)
downloadsci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.gz
sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.bz2
sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.zip
use format string
Diffstat (limited to 'js/IntegerOp/CONVERT.js')
-rw-r--r--js/IntegerOp/CONVERT.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 9faa0876..faee9fa1 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -30,7 +30,7 @@ exprs=graphics.exprs;
while (true) {
[ok,it,ot,np,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"CONVERT")," ",gettext("Type conversion")," "],[gettext("Input Type (1:double, 3:int32, 4:int16, 5:int8, ...)"),gettext("Output Type (1:double, 3:int32, 4:int16, 5:int8, ...)"),gettext("Do on Overflow (0:Nothing, 1:Saturate, 2:Error)")],list("vec",1,"vec",1,"vec",1),exprs);
if (!ok) {
-break
+break;
}
if (it==2) {
it=1;
@@ -363,7 +363,7 @@ if (ok) {
graphics.exprs=exprs;
x.graphics=graphics;
x.model=model;
-break
+break;
}
}
}