From ccbe5845601a5a4d7c14f5744e9ea42a2e50be90 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 8 Dec 2025 13:01:24 +0000 Subject: [PATCH] `data` -> `res` to minimize confusion --- vendor/kb_text_shape/kb_text_shape_procs.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/kb_text_shape/kb_text_shape_procs.odin b/vendor/kb_text_shape/kb_text_shape_procs.odin index 686328b28..a9cee184c 100644 --- a/vendor/kb_text_shape/kb_text_shape_procs.odin +++ b/vendor/kb_text_shape/kb_text_shape_procs.odin @@ -379,9 +379,9 @@ AllocatorFromOdinAllocator :: proc "contextless" (allocator: ^runtime.Allocator) case .NONE: return case .ALLOCATE: - data, _ := runtime.mem_alloc(int(Op.Allocate.Size), runtime.DEFAULT_ALIGNMENT) - Op.Allocate.Pointer = raw_data(data) - Op.Allocate.Size = u32(len(data)) + res, _ := runtime.mem_alloc(int(Op.Allocate.Size), runtime.DEFAULT_ALIGNMENT) + Op.Allocate.Pointer = raw_data(res) + Op.Allocate.Size = u32(len(res)) case .FREE: _ = runtime.mem_free(Op.Free.Pointer) }