strcmp(1): more formatting
This commit is contained in:
parent
34cd715e37
commit
666c621a02
@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (; *argv[1] != '\0'; ++argv[1]) {
|
for (; *argv[1] != '\0'; ++argv[1]) {
|
||||||
for(i = 2; i < argc; ++i) {
|
for (i = 2; i < argc; ++i) {
|
||||||
if (*argv[i-1] > *argv[i]) {
|
if (*argv[i-1] > *argv[i]) {
|
||||||
return 1;
|
return 1;
|
||||||
} else if (*argv[i-1] < *argv[i]++) {
|
} else if (*argv[i-1] < *argv[i]++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user