]> err.no Git - util-linux/commit
cal: widechar code cleanup
authorKarel Zak <kzak@redhat.com>
Tue, 12 Jun 2007 15:46:16 +0000 (17:46 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Jun 2007 15:46:16 +0000 (17:46 +0200)
commita256ea01ff2bd421697223c0e02e0bb028b16538
tree5719c55fdf25d0ab3270d130df5091ff57e9deee
parent174809cff0d8e123eb87cc7610a5677716970cec
cal: widechar code cleanup

This patch make widechar code (cal headers initialization) more
robust. That's possible to format wide char strings by swprintf() and
non-widechar version by sprintf(). This is better than the old
solution with wcscat().

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c