summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mbswidth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/mbswidth.h b/lib/mbswidth.h
index f76021b93..b28a9bac2 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
+/* Assume invalid characters have width 0. If this is zero, the
+ functions return -1 if they find 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. */
+/* Assume unprintable characters have width 1. If this is zero, the
+ functions return -1 if they find a non-printable character. */
#define MBSW_ACCEPT_UNPRINTABLE 2
/* Returns the number of screen columns needed for STRING. */