Now that you can specify negative indents in Halibut text mode, it's
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 May 2012 17:37:24 +0000 (17:37 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 4 May 2012 17:37:24 +0000 (17:37 +0000)
commita21240a984ff343f876a4897ab0310eb38304fe7
treee0b50fa84f5ac8932e9b5f90f8723813d01e0b4f
parenta80c47a8f5806b2163f99fadc374897519499670
Now that you can specify negative indents in Halibut text mode, it's
possible to specify an indent which is _overall_ negative, i.e.
intended to be off the left-hand side of the text file. There's no
nice way to handle this, but printing O(2^32) spaces in a while (n--)
loop is particularly bad. Fix the loop to read while (n-- > 0), so
that at least it doesn't get _that_ badly confused.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@9491 cda61777-01e9-0310-a592-d414129be87e
bk_text.c