mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Remove utf8_is_bom()
This commit is contained in:
@@ -533,12 +533,6 @@ char* strcasestr(const char* haystack, const char* needle)
|
||||
}
|
||||
#endif
|
||||
|
||||
bool utf8_is_bom(const char* str)
|
||||
{
|
||||
return str[0] == static_cast<char>(static_cast<uint8_t>(0xEF)) && str[1] == static_cast<char>(static_cast<uint8_t>(0xBB))
|
||||
&& str[2] == static_cast<char>(static_cast<uint8_t>(0xBF));
|
||||
}
|
||||
|
||||
bool str_is_null_or_empty(const char* str)
|
||||
{
|
||||
return str == nullptr || str[0] == 0;
|
||||
|
||||
@@ -49,7 +49,6 @@ char* safe_strcat_path(char* destination, const char* source, size_t size);
|
||||
char* strcasestr(const char* haystack, const char* needle);
|
||||
#endif
|
||||
|
||||
bool utf8_is_bom(const char* str);
|
||||
bool str_is_null_or_empty(const char* str);
|
||||
|
||||
uint32_t util_rand();
|
||||
|
||||
Reference in New Issue
Block a user