#endif
}
-#if HAVE_MBTOWC && HAVE_WCWIDTH
+#if USE_NLS_PROGRESS_BAR
int
count_cols (const char *mbs)
{
}
#else
# define count_cols(mbs) ((int)(strlen(mbs)))
-# undef wcwidth
-# define wcwidth(wc) (1)
#endif
/* Translation note: "ETA" is English-centric, but this must
int nbytes;
int ncols;
-#if HAVE_WCWIDTH && HAVE_MBTOWC
+#if USE_NLS_PROGRESS_BAR
eta_trans = _(eta_str);
#else
eta_trans = eta_str;
move_to_end (p);
}
- assert (p - bp->buffer - bytes_cols_diff - size_grouped_diff <= bp->width);
-
while (p - bp->buffer - bytes_cols_diff - size_grouped_diff < bp->width)
*p++ = ' ';
*p = '\0';