* bug 16280 fixed: allow users to use mode() inside a macro.
[scilab.git] / scilab / modules / core / src / cpp / InitScilab.cpp
index 5c7c6d8..a122bbb 100644 (file)
@@ -434,7 +434,7 @@ int StartScilabEngine(ScilabEngineInfo* _pSEI)
         iScript = 1;
     }
 
-    ConfigVariable::setPromptMode(2);
+    ConfigVariable::setUserMode(2);
     InitializePreferences(iScript);
 
     return iMainRet;