astyle formatting

This commit is contained in:
Daniel Marjamäki 2013-08-18 09:01:26 +02:00
parent ed890a23a8
commit 6a369f0841
1 changed files with 2 additions and 2 deletions

View File

@ -600,7 +600,7 @@ int main(int argc, char *argv[])
settings.hang = true;
else if (strncmp(argv[i],"-D", 2) == 0) {
if (!settings.defines.empty())
settings.defines += " ";
settings.defines += " ";
if ((strcmp(argv[i], "-D") == 0) && (i+1<argc))
settings.defines += argv[++i];
else
@ -611,7 +611,7 @@ int main(int argc, char *argv[])
settings.maxtime = std::atoi(argv[i] + 10);
else if (strncmp(argv[i],"--cfg=",6)==0) {
if (!settings.defines.empty())
settings.defines += " ";
settings.defines += " ";
settings.defines += argv[i] + 6;
} else if (settings.filename==NULL && strchr(argv[i],'.'))
settings.filename = argv[i];