diff --git a/plugins/builtin/source/content/data_visualizers.cpp b/plugins/builtin/source/content/data_visualizers.cpp index 3bff60c31..adc6a3ea3 100644 --- a/plugins/builtin/source/content/data_visualizers.cpp +++ b/plugins/builtin/source/content/data_visualizers.cpp @@ -19,7 +19,7 @@ namespace hex::plugin::builtin { hex::unused(address); if (size == ByteCount) - ImGui::Text(getFormatString(upperCase), *reinterpret_cast(data)); + ImGuiExt::TextFormatted(upperCase ? "{:0{}X}" : "{:0{}x}", *reinterpret_cast(data), sizeof(T) * 2); else ImGuiExt::TextFormatted("{: {}s}", CharCount); }