X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmbswidth.h;h=bfda2832bc23ae6afb50e64b3751d355225a8eca;hb=e2b0b4a5bc39813736d624662b9006a645d08083;hp=b28a9bac259a436f73c49b135b03deb7f91ebb85;hpb=d5b1ab33a5cd8b1bdfc1c0892f5fe7bdae94ecef;p=gnulib.git diff --git a/lib/mbswidth.h b/lib/mbswidth.h index b28a9bac2..bfda2832b 100644 --- a/lib/mbswidth.h +++ b/lib/mbswidth.h @@ -25,12 +25,12 @@ /* Optional flags to influence mbswidth/mbsnwidth behavior. */ -/* Assume invalid characters have width 0. If this is zero, the - functions return -1 if they find an invalid or incomplete character. */ +/* If this bit is set, assume invalid characters have width 0. + Otherwise, return -1 upon finding an invalid or incomplete character. */ #define MBSW_ACCEPT_INVALID 1 -/* Assume unprintable characters have width 1. If this is zero, the - functions return -1 if they find a non-printable character. */ +/* If this bit is set, assume unprintable characters have width 1. + Otherwise, return -1 upon finding a non-printable character. */ #define MBSW_ACCEPT_UNPRINTABLE 2 /* Returns the number of screen columns needed for STRING. */