summaryrefslogtreecommitdiffstats
path: root/scilab/modules/shell
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2010-02-03 00:23:42 +0100
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2010-02-03 00:23:42 +0100
commit9251a9f4c2037dccab057d26787b775a21260d19 (patch)
tree691a4f88b66499996120666ee16bd375d39e6502 /scilab/modules/shell
parent3d47a6fc526d82ef419b8a0f420a51e6eb74a28e (diff)
downloadscilab-9251a9f4c2037dccab057d26787b775a21260d19.zip
scilab-9251a9f4c2037dccab057d26787b775a21260d19.tar.gz
* With the option --texmacs, the mode NWNI was used. It has been changed to NW
to allow the use of graphic features.
Diffstat (limited to 'scilab/modules/shell')
-rw-r--r--scilab/modules/shell/src/c/others/mainscic.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/scilab/modules/shell/src/c/others/mainscic.c b/scilab/modules/shell/src/c/others/mainscic.c
index 3b1d8bc..8dedf89 100644
--- a/scilab/modules/shell/src/c/others/mainscic.c
+++ b/scilab/modules/shell/src/c/others/mainscic.c
@@ -33,7 +33,7 @@
33#if defined(linux) && defined(__i386__) 33#if defined(linux) && defined(__i386__)
34#include "setPrecisionFPU.h" 34#include "setPrecisionFPU.h"
35#endif 35#endif
36 36void initPlop();
37/*--------------------------------------------------------------------------*/ 37/*--------------------------------------------------------------------------*/
38#define MIN_STACKSIZE 8000000 38#define MIN_STACKSIZE 8000000
39/*--------------------------------------------------------------------------*/ 39/*--------------------------------------------------------------------------*/
@@ -57,6 +57,10 @@ int main(int argc, char **argv)
57 57
58 char * initial_script = NULL; 58 char * initial_script = NULL;
59 InitScriptType initial_script_type = SCILAB_SCRIPT; 59 InitScriptType initial_script_type = SCILAB_SCRIPT;
60 initPlop();
61 // int *a=NULL;
62 // *a=23;
63
60 /* This bug only occurs under Linux 32 bits 64 /* This bug only occurs under Linux 32 bits
61 * See: http://wiki.scilab.org/Scilab_precision 65 * See: http://wiki.scilab.org/Scilab_precision
62 */ 66 */
@@ -121,7 +125,7 @@ fpsetmask(0);
121 } 125 }
122 else if ( strcmp(argv[i],"--texmacs") == 0) 126 else if ( strcmp(argv[i],"--texmacs") == 0)
123 { 127 {
124 setScilabMode(SCILAB_NWNI); 128 setScilabMode(SCILAB_NW);
125 settexmacs(); 129 settexmacs();
126 } 130 }
127 else if ( strcmp(argv[i],"-nogui") == 0) 131 else if ( strcmp(argv[i],"-nogui") == 0)