utf: console 2 72/18672/1
Antoine ELIAS [Thu, 10 Nov 2016 07:34:23 +0000 (08:34 +0100)]
Change-Id: I188bad7483cb20d73488742dd32974fb9caa0043

scilab/modules/console/src/c/dropFiles.c
scilab/modules/console/src/c/windows/TermCompletion.c

index d787bc3..e4d9e4f 100644 (file)
@@ -120,7 +120,7 @@ static char *getCommandByFileExtension(char *File, char *FileExtension)
                   (stricmp(FileExtension, ZCOS_EXTENSION_FILE) == 0) ||
                   (stricmp(FileExtension, XCOS_EXTENSION_FILE) == 0))
         {
-            if (with_module(L"xcos"))
+            if (with_module("xcos"))
             {
                 command = buildCommand(FORMAT_COS_COSF_XCOS_EXTENSION_FILES, File);
             }
index 30818f0..6acc931 100644 (file)
@@ -25,6 +25,7 @@
 #include "scilines.h"
 #include "os_string.h"
 #include "completeLine.h"
+#include "configvariable_interface.h"
 /*--------------------------------------------------------------------------*/
 static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary);
 static char **concatenateStrings(int *sizearrayofstring, char *string1,