seq: fix misaligment with -w when no precision for start value
authorPádraig Brady <P@draigBrady.com>
Wed, 9 Jan 2013 12:23:35 +0000 (12:23 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 26 Jan 2013 02:35:58 +0000 (02:35 +0000)
commit326e5855bc8dd3d0c5b2c0e461c65879d2b5694d
tree283b502b0acaa235fab9ac8cbaf7ba49b2f32ee4
parentd302aed182d625281fba87aca3cb513882aa967b
seq: fix misaligment with -w when no precision for start value

* src/seq.c (get_default_format): Also account for the case where '.'
is auto added to the start value, which is significant when the
number sequence narrows.
* tests/misc/seq.pl: Add two new tests for the failing cases.
* NEWS: Mention the fix.
Fixes http://bugs.gnu.org/13394
NEWS
src/seq.c
tests/misc/seq.pl