diff --git a/src/unicode.hh b/src/unicode.hh index 4b783dde..db2d1e88 100644 --- a/src/unicode.hh +++ b/src/unicode.hh @@ -2,7 +2,7 @@ #define unicode_hh_INCLUDED #include -#include +#include namespace Kakoune { @@ -11,7 +11,7 @@ using Codepoint = uint32_t; inline bool is_word(Codepoint c) { - return c == '_' or std::isalnum((wchar_t)c, std::locale()); + return c == '_' or isalnum(c); } inline bool is_eol(Codepoint c)