mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Refactor format tokens
This commit is contained in:
@@ -771,18 +771,6 @@ namespace String
|
||||
return res;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool ContainsColourCode(const std::string& string)
|
||||
{
|
||||
for (unsigned char c : string)
|
||||
{
|
||||
if (c >= FORMAT_COLOUR_CODE_START && c <= FORMAT_COLOUR_CODE_END)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} // namespace String
|
||||
|
||||
char32_t CodepointView::iterator::GetNextCodepoint(const char* ch, const char** next)
|
||||
|
||||
Reference in New Issue
Block a user