save some space in the title

This commit is contained in:
silverweed 2024-11-12 16:11:03 +01:00
parent 396fb88860
commit e5061b86b9
2 changed files with 3 additions and 3 deletions

View file

@ -252,10 +252,10 @@ void update_and_render(Arena *arena, App_State &app, f32 delta_time_ms)
String8 ntpl_desc = rntuple_description(scratch.arena, app.tfile_data.rntuple_anchor);
if (rntuple_is_old_version(app.tfile_data.rntuple_anchor))
ImGui::TextColored(ImColor(1.f, 0.f, 0.f), "RNTuple \"%s\" (%s) from file \"%s\" ** old version, some data missing! **",
ImGui::TextColored(ImColor(1.f, 0.f, 0.f), "\"%s\" (%s) from file \"%s\" ** old version, some data missing! **",
app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
else
ImGui::Text("RNTuple \"%s\" (%s) from file \"%s\"", app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
ImGui::Text("\"%s\" (%s) from file \"%s\"", app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
// Draw stats
{

View file

@ -7,7 +7,7 @@ b8 rntuple_is_old_version(const ROOT::RNTuple &ntuple)
internal
String8 rntuple_description(Arena *arena, const ROOT::RNTuple &ntuple)
{
String8 desc = push_str8f(arena, "version %u.%u.%u.%u",
String8 desc = push_str8f(arena, "v %u.%u.%u.%u",
ntuple.GetVersionEpoch(),
ntuple.GetVersionMajor(),
ntuple.GetVersionMinor(),