Fix nullptr crashes

This commit is contained in:
Exter-N 2025-08-09 14:54:56 +02:00 committed by Ottermandias
parent 3785a629ce
commit 9aae2210a2
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5224ac538b1a7c0e86e7d2ceaf652d8d807888ae
Subproject commit 0eaf7655123bd6502456e93d6ae9593249d3f792

View file

@ -67,7 +67,7 @@ public partial class MtrlTab
private static void DrawLegacyColorTableHeader(bool hasDyeTable)
{
ImGui.TableNextColumn();
ImUtf8.TableHeader(default(ReadOnlySpan<byte>));
ImUtf8.TableHeader(""u8);
ImGui.TableNextColumn();
ImUtf8.TableHeader("Row"u8);
ImGui.TableNextColumn();