[glass] modernize-use-nullptr (NFC) (#3006)

This commit is contained in:
Austin Shalit
2020-12-29 22:46:11 -08:00
committed by GitHub
parent a751fa22d2
commit a2e46b9a1b

View File

@@ -580,7 +580,7 @@ static void EmitParentContextMenu(const std::string& path,
if (openWarningPopup) {
ImGui::OpenPopup("Value exists");
}
if (ImGui::BeginPopupModal("Value exists", NULL,
if (ImGui::BeginPopupModal("Value exists", nullptr,
ImGuiWindowFlags_AlwaysAutoResize)) {
ImGui::Text("The provided name %s already exists in the tree!", nameBuffer);
ImGui::Separator();