diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-01 10:01:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-01 10:01:11 +0200 |
commit | 12a42edd13f6bd2def0ff045389ab289fbcb0b83 (patch) | |
tree | 9f3d082658ba039879a8ecfc81bb870f05ba611f /Userland/Libraries/LibWeb/DOM | |
parent | a8ae8b24deab52e851381c4385c316c57ce47d6a (diff) | |
download | serenity-12a42edd13f6bd2def0ff045389ab289fbcb0b83.zip |
Everywhere: codepoint => code point
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Position.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Position.cpp b/Userland/Libraries/LibWeb/DOM/Position.cpp index 155e94ecbe..e4dc8cd67c 100644 --- a/Userland/Libraries/LibWeb/DOM/Position.cpp +++ b/Userland/Libraries/LibWeb/DOM/Position.cpp @@ -39,7 +39,7 @@ bool Position::increment_offset() for (auto iterator = text.begin(); !iterator.done(); ++iterator) { if (text.byte_offset_of(iterator) >= m_offset) { - // NOTE: If the current offset is inside a multi-byte codepoint, it will be moved to the start of the next codepoint. + // NOTE: If the current offset is inside a multi-byte code point, it will be moved to the start of the next code point. m_offset = text.byte_offset_of(++iterator); return true; } @@ -66,7 +66,7 @@ bool Position::decrement_offset() last_smaller_offset = text.byte_offset_of(iterator); } - // NOTE: If the current offset is inside a multi-byte codepoint, it will be moved to the start of that codepoint. + // NOTE: If the current offset is inside a multi-byte code point, it will be moved to the start of that code point. m_offset = last_smaller_offset; return true; } |