From 16e004c62f8d8d502152a85b2ffd384a1c91a470 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 2 Jan 2023 22:36:51 +0100 Subject: Replaced c_STATIC_ASSERT() which works for C99 (also multiple on same line). Some regex updates. --- src/utf8code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utf8code.c') diff --git a/src/utf8code.c b/src/utf8code.c index 71b086c2..4b657cc4 100644 --- a/src/utf8code.c +++ b/src/utf8code.c @@ -148,7 +148,7 @@ bool utf8_isalnum(uint32_t c) { } bool utf8_isblank(uint32_t c) { - if (c < 128) return isblank(c) != 0; + if (c < 128) return (c == ' ') | (c == '\t'); return utf8_isgroup(U8G_Zs, c); } -- cgit v1.2.3