diff --git a/src/olympic/studio/applib/src/newproject.cpp b/src/olympic/studio/applib/src/newproject.cpp index a3f00995..6a0cdbe1 100644 --- a/src/olympic/studio/applib/src/newproject.cpp +++ b/src/olympic/studio/applib/src/newproject.cpp @@ -50,7 +50,7 @@ void NewProject::draw(studio::StudioContext &ctx) noexcept { void NewProject::drawNewProjectName(studio::StudioContext &sctx) noexcept { drawWindow(sctx.tctx, &m_open, [this, &sctx] { - ImGui::InputText("Name", m_projectName.data(), m_projectName.cap()); + ig::InputText("Name", m_projectName); ImGui::Text("Path: %s", m_projectPath.c_str()); if (ImGui::Button("Browse")) { oxLogError(studio::chooseDirectory().moveTo(m_projectPath));