diff --git a/src/BUTR.CrashReport.Renderer.ImGui/ImGui/CmGui.Methods.cs b/src/BUTR.CrashReport.Renderer.ImGui/ImGui/CmGui.Methods.cs index 0f1d9ec..b0fc73b 100644 --- a/src/BUTR.CrashReport.Renderer.ImGui/ImGui/CmGui.Methods.cs +++ b/src/BUTR.CrashReport.Renderer.ImGui/ImGui/CmGui.Methods.cs @@ -70,7 +70,7 @@ public void TextSameLine(ref readonly DateTimeOffset value) Span valueUtf8 = stackalloc byte[64]; Utf8Formatter.TryFormat(value, valueUtf8, out var written, new StandardFormat('O')); valueUtf8[written + 1] = 0; - Text(valueUtf8); + Text(valueUtf8.Slice(0, written + 1)); SameLine(0, 0); }