diff options
author | Mike Akers <mike.akers@gmail.com> | 2022-11-07 21:24:01 -0500 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-11-07 20:43:39 -0800 |
commit | 7eed3dab5d77116ba9749ceb66e5d4e998db7c22 (patch) | |
tree | e7c1b4fc1e7c318c47eb1f7286ae24accf5752f4 | |
parent | a66dbef1ed7c4159207e0f28fa85d5f305f08582 (diff) | |
download | serenity-7eed3dab5d77116ba9749ceb66e5d4e998db7c22.zip |
LibGUI: Fix a typo
-rw-r--r-- | Userland/Libraries/LibGUI/Dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Window>(parent())) { auto& parent_window = *static_cast<Window*>(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()) { |