Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Oct 12, 2024
1 parent 74a7cb3 commit 0029e89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/BUTR.CrashReport.Renderer.ImGui/ImGui/CmGui.Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public void TextSameLine(ref readonly DateTimeOffset value)
{
Span<byte> valueUtf8 = stackalloc byte[64];
Utf8Formatter.TryFormat(value, valueUtf8, out var written, new StandardFormat('O'));
valueUtf8[written + 1] = 0;
Text(valueUtf8.Slice(0, written + 1));
Text(valueUtf8.Slice(0, written));
SameLine(0, 0);
}

Expand Down

0 comments on commit 0029e89

Please sign in to comment.