summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/InputBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/InputBox.cpp')
-rw-r--r--Userland/Libraries/LibGUI/InputBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/InputBox.cpp b/Userland/Libraries/LibGUI/InputBox.cpp
index a50fd75aa2..0bde51a998 100644
--- a/Userland/Libraries/LibGUI/InputBox.cpp
+++ b/Userland/Libraries/LibGUI/InputBox.cpp
@@ -64,7 +64,7 @@ void InputBox::build()
int text_width = widget.font().width(m_prompt);
int title_width = widget.font().width(title()) + 24 /* icon, plus a little padding -- not perfect */;
- int max_width = AK::max(text_width, title_width);
+ int max_width = max(text_width, title_width);
set_rect(x(), y(), max_width + 140, 62);