diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-04 17:08:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-04 17:08:37 +0000 |
commit | aecb3ebe6f232cefdbd6b4ae80b4e9bd4d84b78b (patch) | |
tree | 98f491d41e58afbe3b7b65b5398cf17275d3011a /src | |
parent | 0017571134e469d4200a7d83ecf5c8340b667be1 (diff) | |
download | coreutils-aecb3ebe6f232cefdbd6b4ae80b4e9bd4d84b78b.tar.xz |
(quote_name): Pass 0 to mbsnwidth, since the default
got changed and we want the default now.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2873,9 +2873,7 @@ quote_name (FILE *out, const char *name, struct quoting_options const *options) /* Assume unprintable characters have a displayed_width of 1. */ #if HAVE_MBRTOWC if (MB_CUR_MAX > 1) - displayed_width = mbsnwidth (buf, len, - (MBSW_ACCEPT_INVALID - | MBSW_ACCEPT_UNPRINTABLE)); + displayed_width = mbsnwidth (buf, len, 0); else #endif displayed_width = len; |