mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:44:58 +00:00
Unicode: Try s/codepoint/code_point/g again
This time, without trailing 's'. Ran: git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g
This commit is contained in:
parent
19ac1f6368
commit
ce95628b7f
45 changed files with 441 additions and 441 deletions
|
@ -126,9 +126,9 @@ String JsonParser::consume_quoted_string()
|
|||
sb.append(consume());
|
||||
sb.append(consume());
|
||||
|
||||
auto codepoint = AK::StringUtils::convert_to_uint_from_hex(sb.to_string());
|
||||
if (codepoint.has_value()) {
|
||||
final_sb.append_codepoint(codepoint.value());
|
||||
auto code_point = AK::StringUtils::convert_to_uint_from_hex(sb.to_string());
|
||||
if (code_point.has_value()) {
|
||||
final_sb.append_code_point(code_point.value());
|
||||
} else {
|
||||
final_sb.append('?');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue