summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:34:23 +0100
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:34:23 +0100
commitef326491d745fd28e7a98b28bc6880a5226f01ae (patch)
tree995b83c2413c23b01095e195f041d8a35bf003a2
parent1eb9bbe738e6358c85921ce917b13c4f380ca954 (diff)
downloadscilab-ef326491d745fd28e7a98b28bc6880a5226f01ae.zip
scilab-ef326491d745fd28e7a98b28bc6880a5226f01ae.tar.gz
utf: console 2
Change-Id: I188bad7483cb20d73488742dd32974fb9caa0043
-rw-r--r--scilab/modules/console/src/c/dropFiles.c2
-rw-r--r--scilab/modules/console/src/c/windows/TermCompletion.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/console/src/c/dropFiles.c b/scilab/modules/console/src/c/dropFiles.c
index d787bc3..e4d9e4f 100644
--- a/scilab/modules/console/src/c/dropFiles.c
+++ b/scilab/modules/console/src/c/dropFiles.c
@@ -120,7 +120,7 @@ static char *getCommandByFileExtension(char *File, char *FileExtension)
120 (stricmp(FileExtension, ZCOS_EXTENSION_FILE) == 0) || 120 (stricmp(FileExtension, ZCOS_EXTENSION_FILE) == 0) ||
121 (stricmp(FileExtension, XCOS_EXTENSION_FILE) == 0)) 121 (stricmp(FileExtension, XCOS_EXTENSION_FILE) == 0))
122 { 122 {
123 if (with_module(L"xcos")) 123 if (with_module("xcos"))
124 { 124 {
125 command = buildCommand(FORMAT_COS_COSF_XCOS_EXTENSION_FILES, File); 125 command = buildCommand(FORMAT_COS_COSF_XCOS_EXTENSION_FILES, File);
126 } 126 }
diff --git a/scilab/modules/console/src/c/windows/TermCompletion.c b/scilab/modules/console/src/c/windows/TermCompletion.c
index 30818f0..6acc931 100644
--- a/scilab/modules/console/src/c/windows/TermCompletion.c
+++ b/scilab/modules/console/src/c/windows/TermCompletion.c
@@ -25,6 +25,7 @@
25#include "scilines.h" 25#include "scilines.h"
26#include "os_string.h" 26#include "os_string.h"
27#include "completeLine.h" 27#include "completeLine.h"
28#include "configvariable_interface.h"
28/*--------------------------------------------------------------------------*/ 29/*--------------------------------------------------------------------------*/
29static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary); 30static void displayCompletionDictionary(char **dictionary, int sizedictionary, char *namedictionary);
30static char **concatenateStrings(int *sizearrayofstring, char *string1, 31static char **concatenateStrings(int *sizearrayofstring, char *string1,