mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 02:12:37 +01:00
Codechange: Move IsUtf8Part to only file using it.
This commit is contained in:
@@ -72,13 +72,6 @@ inline bool StrEmpty(const char *s)
|
||||
|
||||
bool IsValidChar(char32_t key, CharSetFilter afilter);
|
||||
|
||||
|
||||
/* Check if the given character is part of a UTF8 sequence */
|
||||
inline bool IsUtf8Part(char c)
|
||||
{
|
||||
return GB(c, 6, 2) == 2;
|
||||
}
|
||||
|
||||
size_t Utf8StringLength(std::string_view str);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user