]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: correctly set the week width
authorAurelien LAJOIE <orel@melix.net>
Sat, 28 Mar 2020 22:33:41 +0000 (23:33 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 31 Mar 2020 13:32:01 +0000 (15:32 +0200)
commita5e322f4f403af970092dad73b95cbaa54045a3d
tree9dc4eac3fb2a85700fc688b46c1c7b8c3d9b2ca2
parentb90829918891af8a3207bdc54a25326481b2fa6e
cal: correctly set the week width

There is seven values but only 6 spaces between them, that why the -1
The value is always used with a minus one, just set it correctly instead
of always fix when used

Signed-off-by: Aurelien LAJOIE <orel@melix.net>
misc-utils/cal.c