on master help sign in
mk_wcwidth.c: docs nit
commitd8b33ab53e3814d7bbf878d994177f866eb2f31b authorJonathan Daugherty <cygnus@foobox.com> dateThu 5 Mar 2020, 11:08 (7 years ago) parent904a5b1
1 file changed+3−2
cbits/mk_wcwidth.c+3−2
cbits/mk_wcwidth.c+3−2
@@ -67,8 +67,9 @@
6767// number of possible characters as dictated by the compiler.
6868#define MAX_CUSTOM_TABLE_SIZE (HS_CHAR_MAX + 1)
6969
70−// The pointer to the start of the custom character width table, if any.
71−// If this is NULL, the built-in tree search logic is used.
70+// The pointer to the start of the custom character width table, if
71+// any. If this is NULL or this is set but the ready flag is false, the
72+// built-in tree search logic is used.
7273static uint8_t* custom_table = NULL;
7374
7475// The size of the custom table. This should only be set if custom_table