summaryrefslogtreecommitdiff
path: root/lib/mbswidth.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-29 06:09:22 +0000
committerJim Meyering <jim@meyering.net>2000-07-29 06:09:22 +0000
commite6db9876a049780d7c242bb264b4ad5f11ba8ce9 (patch)
treed06a2af29f9629ad51cbe3311507ced31225bb98 /lib/mbswidth.h
parentf247c7bd44bb0abc6f4da3ade3dd6b6dfbb5f4e1 (diff)
downloadcoreutils-e6db9876a049780d7c242bb264b4ad5f11ba8ce9.tar.xz
tweak comments
Diffstat (limited to 'lib/mbswidth.h')
-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. */