Removed padding of curlies and square brackets
This commit is contained in:
parent
cbfa3be00d
commit
8ccb19d897
|
@ -210,10 +210,7 @@ main(int argc, char **argv)
|
|||
if(c == ')' && *(w - 1) == ' ') w--;
|
||||
if(c == ' ' && *(w - 1) == ' ') w--;
|
||||
}
|
||||
if(c == '[' || c == ']' || c == '{' || c == '}')
|
||||
*w++ = ' ', *w++ = c, *w++ = ' ';
|
||||
else
|
||||
*w++ = c;
|
||||
*w++ = c;
|
||||
}
|
||||
while(*(--w) <= ' ') *w = 0;
|
||||
fclose(f);
|
||||
|
|
Loading…
Reference in New Issue