summaryrefslogtreecommitdiffstats
path: root/scilab/modules/scicos_blocks
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-03-08 09:28:07 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-03-08 09:28:07 +0100
commit8b7ac05e63459066060daee277f1a41d5b8905d3 (patch)
tree4279ccbffa71e2a0697c866471a0f02e12148c58 /scilab/modules/scicos_blocks
parent4c6a4300d0c9a42b71fb8572e6a656ee3bcb3bdf (diff)
downloadscilab-8b7ac05e63459066060daee277f1a41d5b8905d3.zip
scilab-8b7ac05e63459066060daee277f1a41d5b8905d3.tar.gz
MSDOS replaced by getos() == 'Windows'
Diffstat (limited to 'scilab/modules/scicos_blocks')
-rw-r--r--scilab/modules/scicos_blocks/macros/NonLinear/LOOKUP_c.sci2
-rw-r--r--scilab/modules/scicos_blocks/macros/Sources/CURVE_c.sci19
-rw-r--r--scilab/modules/scicos_blocks/macros/buildmacros.sce2
3 files changed, 2 insertions, 21 deletions
diff --git a/scilab/modules/scicos_blocks/macros/NonLinear/LOOKUP_c.sci b/scilab/modules/scicos_blocks/macros/NonLinear/LOOKUP_c.sci
index 82e1b53..392d8d0 100644
--- a/scilab/modules/scicos_blocks/macros/NonLinear/LOOKUP_c.sci
+++ b/scilab/modules/scicos_blocks/macros/NonLinear/LOOKUP_c.sci
@@ -270,7 +270,7 @@ rect=[xmn,ymn;xmx,ymx];
270//=================================================================== 270//===================================================================
271f=scf(); 271f=scf();
272 272
273if ~MSDOS then 273if getos() <> 'Windows' then
274 delmenu(curwin,'3D Rot.') 274 delmenu(curwin,'3D Rot.')
275 delmenu(curwin,'Edit') 275 delmenu(curwin,'Edit')
276 delmenu(curwin,'File') 276 delmenu(curwin,'File')
diff --git a/scilab/modules/scicos_blocks/macros/Sources/CURVE_c.sci b/scilab/modules/scicos_blocks/macros/Sources/CURVE_c.sci
index 1a14449..b6e3a77 100644
--- a/scilab/modules/scicos_blocks/macros/Sources/CURVE_c.sci
+++ b/scilab/modules/scicos_blocks/macros/Sources/CURVE_c.sci
@@ -284,25 +284,6 @@ rect = [xmn,ymn;xmx,ymx];
284// initial draw 284// initial draw
285f = scf(curwin); 285f = scf(curwin);
286 286
287// if ~MSDOS then
288// delmenu(curwin,'3D Rot.')
289// delmenu(curwin,'Edit')
290// delmenu(curwin,'File')
291// delmenu(curwin,'Insert')
292// else
293// toolbar(curwin,"off")
294// // French
295// delmenu(curwin,'&Fichier')
296// delmenu(curwin,'&Editer')
297// delmenu(curwin,'&Outils')
298// delmenu(curwin,'&Inserer')
299// // English
300// delmenu(curwin,'&File')
301// delmenu(curwin,'&Edit')
302// delmenu(curwin,'&Tools')
303// delmenu(curwin,'&Insert')
304// end
305// //menuss=menus;menuss(1)=menus(1)(2:$);menubar(curwin,menuss)
306 287
307menu_r = []; 288menu_r = [];
308menu_s = []; 289menu_s = [];
diff --git a/scilab/modules/scicos_blocks/macros/buildmacros.sce b/scilab/modules/scicos_blocks/macros/buildmacros.sce
index bf360e9..d4e6d1e 100644
--- a/scilab/modules/scicos_blocks/macros/buildmacros.sce
+++ b/scilab/modules/scicos_blocks/macros/buildmacros.sce
@@ -21,7 +21,7 @@
21 21
22lines(0); 22lines(0);
23 23
24if MSDOS then 24if getos() == 'Windows' then
25 // Add SCI/bin to current PATH env 25 // Add SCI/bin to current PATH env
26 // not defined by default used to find modelicac 26 // not defined by default used to find modelicac
27 PATH_env = getenv('PATH'); 27 PATH_env = getenv('PATH');