Skip to content

Commit d22b7df

Browse files
committed
scilab.cxx: Fix source code misindentation
1 parent e95af9c commit d22b7df

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

Source/Modules/scilab.cxx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,23 @@ class SCILAB:public Language {
100100
/* Manage command line arguments */
101101
for (int argIndex = 1; argIndex < argc; argIndex++) {
102102
if (argv[argIndex] != NULL) {
103-
if (strcmp(argv[argIndex], "-help") == 0) {
104-
Printf(stdout, "%s\n", usage);
105-
} else if (strcmp(argv[argIndex], "-builder") == 0) {
106-
Swig_mark_arg(argIndex);
107-
generateBuilder = true;
108-
createLoader = false;
109-
} else if (strcmp(argv[argIndex], "-buildersources") == 0) {
110-
if (argv[argIndex + 1] != NULL) {
111-
Swig_mark_arg(argIndex);
112-
char *sourceFile = strtok(argv[argIndex + 1], ",");
113-
while (sourceFile != NULL) {
114-
Insert(sourceFileList, Len(sourceFileList), sourceFile);
115-
sourceFile = strtok(NULL, ",");
116-
}
117-
Swig_mark_arg(argIndex + 1);
118-
}
119-
} else if (strcmp(argv[argIndex], "-buildercflags") == 0) {
103+
if (strcmp(argv[argIndex], "-help") == 0) {
104+
Printf(stdout, "%s\n", usage);
105+
} else if (strcmp(argv[argIndex], "-builder") == 0) {
106+
Swig_mark_arg(argIndex);
107+
generateBuilder = true;
108+
createLoader = false;
109+
} else if (strcmp(argv[argIndex], "-buildersources") == 0) {
110+
if (argv[argIndex + 1] != NULL) {
111+
Swig_mark_arg(argIndex);
112+
char *sourceFile = strtok(argv[argIndex + 1], ",");
113+
while (sourceFile != NULL) {
114+
Insert(sourceFileList, Len(sourceFileList), sourceFile);
115+
sourceFile = strtok(NULL, ",");
116+
}
117+
Swig_mark_arg(argIndex + 1);
118+
}
119+
} else if (strcmp(argv[argIndex], "-buildercflags") == 0) {
120120
Swig_mark_arg(argIndex);
121121
if (argv[argIndex + 1] != NULL) {
122122
Insert(cflags, Len(cflags), argv[argIndex + 1]);
@@ -499,7 +499,7 @@ class SCILAB:public Language {
499499

500500
/* Set CheckInputArgument and CheckOutputArgument input arguments */
501501
if (maxOutputArguments < 1) {
502-
maxOutputArguments = 1;
502+
maxOutputArguments = 1;
503503
}
504504
if (minOutputArguments == 1) {
505505
minOutputArguments = 0;
@@ -873,9 +873,9 @@ class SCILAB:public Language {
873873
for (int i = 0; i < Len(sourceFileList); i++) {
874874
String *sourceFile = Getitem(sourceFileList, i);
875875
if (i == 0) {
876-
Printf(builderCode, "files = \"%s\";\n", sourceFile);
876+
Printf(builderCode, "files = \"%s\";\n", sourceFile);
877877
} else {
878-
Printf(builderCode, "files($ + 1) = \"%s\";\n", sourceFile);
878+
Printf(builderCode, "files($ + 1) = \"%s\";\n", sourceFile);
879879
}
880880
}
881881

0 commit comments

Comments
 (0)