summaryrefslogtreecommitdiffstats
path: root/text-utils/column.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:44 +0100
committerKarel Zak2006-12-07 00:25:44 +0100
commit66ee8158b69525e12060ef558cb5d77feadab1dc (patch)
tree08b30f2d07df9213f5647bc6f60b5090a263ef43 /text-utils/column.c
parentImported from util-linux-2.10m tarball. (diff)
downloadkernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.gz
kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.xz
kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.zip
Imported from util-linux-2.10s tarball.
Diffstat (limited to 'text-utils/column.c')
-rw-r--r--text-utils/column.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/column.c b/text-utils/column.c
index cfea89fb7..79ebb115b 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -302,7 +302,7 @@ input(fp)
continue;
}
*p = '\0';
- len = p - buf;
+ len = wcs_width(buf); /* len = p - buf; */
if (maxlength < len)
maxlength = len;
if (entries == maxentry) {