TCLTK on Mac fixed 01/21301/2
Cedric Delamarre [Tue, 11 Feb 2020 09:40:19 +0000 (10:40 +0100)]
Change-Id: Ia72d3724b65e34b251a1dc18a25651edbc5a3906

scilab/modules/core/src/cpp/InitScilab.cpp
scilab/modules/tclsci/src/notclsci/notclsci.cpp

index 986514c..5c7c6d8 100644 (file)
@@ -288,6 +288,7 @@ int StartScilabEngine(ScilabEngineInfo* _pSEI)
 
     if(bRet == FALSE)
     {
+        std::wcerr << "TCL Initialization failed." << std::endl;
         std::wcerr << ConfigVariable::getLastErrorMessage() << std::endl;
         return 1;
     }
index 218d864..e03828d 100644 (file)
@@ -67,7 +67,7 @@ extern "C"
     /*--------------------------------------------------------------------------*/
     BOOL InitializeTclTk(void)
     {
-        return FALSE;
+        return TRUE;
     }
     /*--------------------------------------------------------------------------*/
     BOOL TerminateTclTk(void)