Docs: fixed outdated comment. (#9082)

This commit is contained in:
achabense
2025-11-19 22:45:20 +08:00
committed by ocornut
parent 23bd697f05
commit 68894d4149
2 changed files with 2 additions and 2 deletions

View File

@@ -5323,7 +5323,7 @@ static void DemoWindowPopups()
if (ImGui::BeginPopupContextItem()) // <-- use last item id as popup id
{
selected = n;
ImGui::Text("This a popup for \"%s\"!", names[n]);
ImGui::Text("This is a popup for \"%s\"!", names[n]);
if (ImGui::Button("Close"))
ImGui::CloseCurrentPopup();
ImGui::EndPopup();