diff options
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/SystemServer/main.cpp | 8 | ||||
-rw-r--r-- | Userland/Services/WindowServer/Screen.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp index f483cf7adb..0fd26ac007 100644 --- a/Userland/Services/SystemServer/main.cpp +++ b/Userland/Services/SystemServer/main.cpp @@ -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) diff --git a/Userland/Services/WindowServer/Screen.cpp b/Userland/Services/WindowServer/Screen.cpp index 850992cae5..6a0a6e4d40 100644 --- a/Userland/Services/WindowServer/Screen.cpp +++ b/Userland/Services/WindowServer/Screen.cpp @@ -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); } |