summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp')
-rw-r--r--Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp b/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
index aab3375734..e67e39a535 100644
--- a/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
+++ b/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
@@ -161,7 +161,7 @@ Optional<String> NewProjectDialog::get_available_project_name()
Optional<String> NewProjectDialog::get_project_full_path()
{
// Do not permit forward-slashes in project names
- if (m_name_input->text().contains("/"))
+ if (m_name_input->text().contains('/'))
return {};
auto create_in = m_create_in_input->text();