]> git.tuebingen.mpg.de Git - paraslash.git/commit - gui.c
gui.c: Constify local variables of add_spaces().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 29 Feb 2016 21:10:09 +0000 (22:10 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 13 Mar 2016 17:11:32 +0000 (18:11 +0100)
commitec7552f87eb959b007bd0ed3642e5ccc2faa4d39
tree4f7573e6a54b9387d1134518e40abde1dd770c05
parent8daabd03bb649ae04d6b2dd9e46640ca1e514d3d
gui.c: Constify local variables of add_spaces().

There is no need to modify the all-spaces string as we can as well
print its end in order to output the desired number of spaces. This
allows to make the array variable const, along with "sz", which stores
the length of the string.
gui.c