Scilab: fix -addsrc option reading

This commit is contained in:
Simon Marchetto 2013-10-09 15:18:36 +02:00
commit 00d8f9efba

View file

@ -77,7 +77,7 @@ public:
char *sourceFile = strtok(argv[argIndex + 1], ",");
while (sourceFile != NULL) {
DohInsertitem(sourceFileList, Len(sourceFileList), sourceFile);
sourceFile = strtok(NULL, " ");
sourceFile = strtok(NULL, ",");
}
Swig_mark_arg(argIndex + 1);
}