diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-30 23:16:21 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-30 23:16:21 +0100 |
commit | e17764c8fb566f85020217dd8fd05fb6bc227e98 (patch) | |
tree | cf0a42cc23cd4aae92e69924087610a941c712a4 /coreutils/cal.c | |
parent | ecd90fd488cd0c519070656f5cfa0b0959979be9 (diff) | |
download | busybox-w32-e17764c8fb566f85020217dd8fd05fb6bc227e98.tar.gz busybox-w32-e17764c8fb566f85020217dd8fd05fb6bc227e98.tar.bz2 busybox-w32-e17764c8fb566f85020217dd8fd05fb6bc227e98.zip |
further work on unicodization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 5ecb9131d..207fa967b 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -135,7 +135,7 @@ int cal_main(int argc UNUSED_PARAM, char **argv) | |||
135 | if (julian) | 135 | if (julian) |
136 | *hp++ = ' '; | 136 | *hp++ = ' '; |
137 | { | 137 | { |
138 | char *two_wchars = unicode_cut_nchars(2, buf); | 138 | char *two_wchars = unicode_conv_to_printable_fixedwidth(NULL, buf, 2); |
139 | strcpy(hp, two_wchars); | 139 | strcpy(hp, two_wchars); |
140 | free(two_wchars); | 140 | free(two_wchars); |
141 | } | 141 | } |