From 271782d2f43316c3b691946b9a5e8cf5f311ac36 Mon Sep 17 00:00:00 2001 From: Justin Snyder Date: Wed, 19 Jun 2024 17:53:34 -0600 Subject: [PATCH] fix typo apparently i had a moment of dyslexia --- core/strings/builder.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/strings/builder.odin b/core/strings/builder.odin index 32c96ebbd..195eab56f 100644 --- a/core/strings/builder.odin +++ b/core/strings/builder.odin @@ -296,7 +296,7 @@ Returns: */ to_cstring :: proc(b: ^Builder) -> (res: cstring) { append(&b.buf, 0) - defer pop(&p.buf) + defer pop(&b.buf) return cstring(raw_data(b.buf)) } /*