aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv_latin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcharconv_latin.c')
-rw-r--r--libcharconv_latin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcharconv_latin.c b/libcharconv_latin.c
index 7c70318..5179388 100644
--- a/libcharconv_latin.c
+++ b/libcharconv_latin.c
@@ -358,13 +358,15 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz
case UINT32_C(0x26C9): c = (uint_least32_t)'W'; goto conv;
case UINT32_C(0x26CA): c = (uint_least32_t)'B'; goto conv;
+ /* go (common) */
+ case UINT32_C(0x25CF): c = (uint_least32_t)'b'; goto conv;
+ case UINT32_C(0x25CB): c = (uint_least32_t)'w'; goto conv;
+
/* go (white) */
- case UINT32_C(0x25CB): c = (uint_least32_t)'0'; goto conv;
case UINT32_C(0x2686): c = (uint_least32_t)'1'; goto conv;
case UINT32_C(0x2687): c = (uint_least32_t)'2'; goto conv;
/* go (black) */
- case UINT32_C(0x25CF): c = (uint_least32_t)'0'; goto conv;
case UINT32_C(0x2688): c = (uint_least32_t)'1'; goto conv;
case UINT32_C(0x2689): c = (uint_least32_t)'2'; goto conv;