From 7eed3dab5d77116ba9749ceb66e5d4e998db7c22 Mon Sep 17 00:00:00 2001 From: Mike Akers Date: Mon, 7 Nov 2022 21:24:01 -0500 Subject: [PATCH] LibGUI: Fix a typo --- Userland/Libraries/LibGUI/Dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/Dialog.cpp b/Userland/Libraries/LibGUI/Dialog.cpp index e4c3a9ef56..3d6767010a 100644 --- a/Userland/Libraries/LibGUI/Dialog.cpp +++ b/Userland/Libraries/LibGUI/Dialog.cpp @@ -39,7 +39,7 @@ Dialog::ExecResult Dialog::exec() if (parent() && is(parent())) { auto& parent_window = *static_cast(parent()); if (parent_window.is_visible()) { - // Check the dialog's positiom against the Desktop's rect and reposition it to be entirely visible. + // Check the dialog's position against the Desktop's rect and reposition it to be entirely visible. // If the dialog is larger than the desktop's rect just center it. window_rect.center_within(parent_window.rect()); if (window_rect.size().width() < desktop_rect.size().width() && window_rect.size().height() < desktop_rect.size().height()) {