mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:57:36 +00:00
Everywhere: Fix spelling of "offsetted"
This word is actually pretty awkward in context, but this patch merely fixes the spelling instead of finding a better word.
This commit is contained in:
parent
daef7e2c71
commit
9387271049
10 changed files with 33 additions and 33 deletions
|
@ -121,10 +121,10 @@ constexpr unsigned encoded_device(unsigned major, unsigned minor)
|
|||
|
||||
inline char offset_character_with_number(char base_char, u8 offset)
|
||||
{
|
||||
char offseted_char = base_char;
|
||||
VERIFY(static_cast<size_t>(offseted_char) + static_cast<size_t>(offset) < 256);
|
||||
offseted_char += offset;
|
||||
return offseted_char;
|
||||
char offsetted_char = base_char;
|
||||
VERIFY(static_cast<size_t>(offsetted_char) + static_cast<size_t>(offset) < 256);
|
||||
offsetted_char += offset;
|
||||
return offsetted_char;
|
||||
}
|
||||
|
||||
static void create_devfs_block_device(String name, mode_t mode, unsigned major, unsigned minor)
|
||||
|
|
|
@ -395,7 +395,7 @@ void Screen::set_buffer(int index)
|
|||
FBHeadVerticalOffset offset;
|
||||
memset(&offset, 0, sizeof(FBHeadVerticalOffset));
|
||||
if (index == 1)
|
||||
offset.offseted = 1;
|
||||
offset.offsetted = 1;
|
||||
int rc = fb_set_head_vertical_offset_buffer(m_framebuffer_fd, &offset);
|
||||
VERIFY(rc == 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue