simon-svn: halibut: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri May 4 18:37:24 BST 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9491
Date:           2012-05-04 18:37:24 +0100 (Fri, 04 May 2012)

Log message (6 lines):
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.

Modified files:
U   halibut/bk_text.c

Links:
http://svn.tartarus.org/sgt/?rev=9491&view=rev
http://svn.tartarus.org/sgt/halibut/bk_text.c?rev=9491&r1=9490&r2=9491



More information about the tartarus-commits mailing list