From 4afb0435098690eb458220cc0b79d8eb15bfecb7 Mon Sep 17 00:00:00 2001 From: Tenari Date: Thu, 1 Oct 2026 07:32:31 -0500 Subject: [PATCH] actually wipe the byte --- string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/string.c b/string.c index 53b76e3..a07b275 100644 --- a/string.c +++ b/string.c @@ -269,6 +269,7 @@ fn u8 stringDeleteCodepointAtByte(String* s, u32 byte_offset) { } s->length -= 1; } + s->bytes[byte_offset] = '\0'; return cp.size; }