aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/string/u8wnext.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode/string/u8wnext.c')
-rw-r--r--lib/unicode/string/u8wnext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/unicode/string/u8wnext.c b/lib/unicode/string/u8wnext.c
index 074994e..7590884 100644
--- a/lib/unicode/string/u8wnext.c
+++ b/lib/unicode/string/u8wnext.c
@@ -8,9 +8,9 @@
#include "unicode/string.h"
#define IS_MIDNUMLETQ(xp) ((xp) == WBRK_MB || (xp) == WBRK_SQ)
-#define IS_AHLETTER(xp) \
+#define IS_AHLETTER(xp) \
((xp) == WBRK_LE || (xp) == WBRK_EXTPICT_LE || (xp) == WBRK_HL)
-#define IS_IGNORE(xp) \
+#define IS_IGNORE(xp) \
((xp) == WBRK_EXTEND || (xp) == WBRK_FO || (xp) == WBRK_ZWJ)
struct wbrk_state {
@@ -218,8 +218,8 @@ advance(struct wbrk_state *ws)
ws->raw.prev[1] = ws->raw.prev[0];
ws->raw.prev[0] = ws->raw.next[0];
ws->raw.next[0] = ws->raw.next[1];
- ws->raw.next[1] =
- u8next(&ch, &ws->raw_v) != 0 ? uprop_get_wbrk(ch) : WBRK_EOT;
+ ws->raw.next[1] = u8next(&ch, &ws->raw_v) != 0 ? uprop_get_wbrk(ch)
+ : WBRK_EOT;
/* Increment the midpoint */
u8next(nullptr, &ws->mid_v);