1
0
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:
Gymnasiast
2022-01-24 21:58:19 +01:00
parent 4192fc5cc8
commit 0a46a960de
2 changed files with 0 additions and 7 deletions

View File

@@ -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;

View File

@@ -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();