Fix utf8_is_format_code

This commit is contained in:
Jonathan Haas 2015-12-20 12:28:44 +01:00
parent bf536ce7b7
commit 7149e1a4f5
1 changed files with 1 additions and 0 deletions

View File

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