From a2e46b9a1b351fb9c3e6ba2bfe2b5f8b4cd6ead5 Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Tue, 29 Dec 2020 22:46:11 -0800 Subject: [PATCH] [glass] modernize-use-nullptr (NFC) (#3006) --- glass/src/libnt/native/cpp/NetworkTables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glass/src/libnt/native/cpp/NetworkTables.cpp b/glass/src/libnt/native/cpp/NetworkTables.cpp index 2e7ce2e3a4..55f44a8a55 100644 --- a/glass/src/libnt/native/cpp/NetworkTables.cpp +++ b/glass/src/libnt/native/cpp/NetworkTables.cpp @@ -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();