From f4c3556039efe9ad510f17d80dfea62a9c5ebf00 Mon Sep 17 00:00:00 2001 From: Deal Date: Wed, 13 Sep 2023 20:42:49 +0800 Subject: [PATCH] Inspector: remove dup 0x prefix for object address --- extensions/Inspector/Inspector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/Inspector/Inspector.cpp b/extensions/Inspector/Inspector.cpp index 3d4b17523b..897d8d829d 100644 --- a/extensions/Inspector/Inspector.cpp +++ b/extensions/Inspector/Inspector.cpp @@ -199,11 +199,11 @@ void Inspector::drawProperties() // ImGui::EndPopup(); //} - ImGui::Text("Addr: 0x%p", _selected_node); + ImGui::Text("Addr: %p", _selected_node); if (auto userData = _selected_node->getUserData(); userData) { ImGui::SameLine(); - ImGui::Text("User data: 0x%p", userData); + ImGui::Text("User data: %p", userData); } auto pos = _selected_node->getPosition();