Commit 769b3ca9 authored by DailyShana's avatar DailyShana

bool

parent 53b872c5
...@@ -82,7 +82,7 @@ int main(int argc, char* argv[]) { ...@@ -82,7 +82,7 @@ int main(int argc, char* argv[]) {
argv[argc] = ptr + 1; argv[argc] = ptr + 1;
j = 0; j = 0;
} }
in_SPACE = FALSE; in_SPACE = false;
break; break;
} }
case ' ': case ' ':
...@@ -93,18 +93,18 @@ int main(int argc, char* argv[]) { ...@@ -93,18 +93,18 @@ int main(int argc, char* argv[]) {
argv[argc][j] = '\0'; argv[argc][j] = '\0';
++argc; ++argc;
} }
in_TEXT = FALSE; in_TEXT = false;
in_SPACE = TRUE; in_SPACE = true;
break; break;
} }
default: { default: {
in_TEXT = TRUE; in_TEXT = true;
if(in_SPACE) { if(in_SPACE) {
argv[argc] = ptr; argv[argc] = ptr;
j = 1; j = 1;
} else } else
++j; ++j;
in_SPACE = FALSE; in_SPACE = false;
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment