mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix utf8_is_format_code
This commit is contained in:
parent
bf536ce7b7
commit
7149e1a4f5
|
@ -136,6 +136,7 @@ bool utf8_is_format_code(int codepoint)
|
|||
if (codepoint < 32) return true;
|
||||
if (codepoint >= FORMAT_ARGUMENT_CODE_START && codepoint <= FORMAT_ARGUMENT_CODE_END) return true;
|
||||
if (codepoint >= FORMAT_COLOUR_CODE_START && codepoint <= FORMAT_COLOUR_CODE_END) return true;
|
||||
if (codepoint == FORMAT_COMMA1DP16) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue