Unified style for if, for, and while statements. As well as general

code cleanup.
This commit is contained in:
aidan 2020-08-19 10:10:43 -06:00
parent b12722ab48
commit 416a36d636

View file

@ -143,10 +143,9 @@ void statusloop()
getcmds(-1);
while (statusContinue)
{
getcmds(i);
getcmds(i++);
writestatus();
sleep(1.0);
i++;
}
}
@ -171,7 +170,7 @@ void termhandler()
int main(int argc, char** argv)
{
for(int i = 0; i < argc; i++)
for (int i = 0; i < argc; i++) //Handle command line arguments
{
if (!strcmp("-d",argv[i]))
strncpy(delim, argv[++i], delimLen);