fix tcl freeze when an error occured at initialization
[scilab.git] / scilab / modules / tclsci / src / c / InitializeTclTk.c
index 825c07e..dfa1b9e 100644 (file)
@@ -22,10 +22,7 @@ BOOL InitializeTclTk(void)
     if ( getScilabMode() != SCILAB_NWNI )
     {
         setTkStarted(TRUE);
-        if ( OpenTCLsci() != 0 )
-        {
-            setTkStarted(FALSE);
-        }
+        OpenTCLsci();
     }
     return isTkStarted();
 }