summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--disk-utils/cfdisk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index acea6d8ff..c0a4c72a2 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -352,6 +352,10 @@ static char *table_to_string(struct cfdisk *cf, struct fdisk_table *tb)
scols_table_enable_maxout(table, 1);
scols_table_enable_nowrap(table, 1);
+#if !defined(HAVE_LIBNCURSESW) || !defined(HAVE_WIDECHAR)
+ scols_table_enable_ascii(table, 1);
+#endif
+
/* headers */
for (i = 0; i < cf->nfields; i++) {
int fl = 0;