summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-08-17 22:22:09 -0400
committerAndreas Kling <kling@serenityos.org>2022-08-25 13:28:50 +0200
commitb180132c878f7ec4fc768c422e7e171abf0cefb1 (patch)
tree776a5d8e74ccf876682c608630e58bfaeee54b45 /Userland/Services
parent24b8301a0ed1b738850443ad126a272786ec8ad3 (diff)
downloadserenity-b180132c878f7ec4fc768c422e7e171abf0cefb1.zip
WindowServer: Fix typo 'reminder' -> 'remainder' in WindowManager
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/WindowServer/WindowManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/WindowServer/WindowManager.cpp b/Userland/Services/WindowServer/WindowManager.cpp
index cee35cdb93..918f57ca35 100644
--- a/Userland/Services/WindowServer/WindowManager.cpp
+++ b/Userland/Services/WindowServer/WindowManager.cpp
@@ -2043,9 +2043,9 @@ Gfx::IntRect WindowManager::tiled_window_rect(Window const& window, WindowTileTy
if (tile_type == WindowTileType::Bottom
|| tile_type == WindowTileType::BottomLeft
|| tile_type == WindowTileType::BottomRight) {
- auto half_screen_reminder = rect.height() % 2;
- rect.set_height(rect.height() / 2 + half_screen_reminder);
- rect.set_y(rect.height() - half_screen_reminder);
+ auto half_screen_remainder = rect.height() % 2;
+ rect.set_height(rect.height() / 2 + half_screen_remainder);
+ rect.set_y(rect.height() - half_screen_remainder);
}
Gfx::IntRect window_rect = window.rect();