X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmbswidth.h;h=bfda2832bc23ae6afb50e64b3751d355225a8eca;hb=43b11415979758aef2b3a58f058086ae01909a9f;hp=f76021b93baf5ffa834a4b52b90019b7ace680fa;hpb=91f65b21df1dc4efd7e28b849c00fe44cd9463e2;p=gnulib.git diff --git a/lib/mbswidth.h b/lib/mbswidth.h index f76021b93..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 not set, the - functions return -1 if an invalid or incomplete character occurs. */ -#define MBSW_ACCEPT_INVALID 1 +/* 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 not set, the - functions return -1 if a non-printable character occurs. */ +/* 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. */