1
0
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:
frosch
2025-04-02 10:04:46 +02:00
committed by frosch
parent 588fedb5db
commit d2c9828b4c
2 changed files with 7 additions and 8 deletions

View File

@@ -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);
/**