From f6e22f066d89fdb491ab85362541e09af0e2146b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 2 Aug 2026 09:54:39 +0200 Subject: [PATCH] Store provided instead of full path --- src/file/file.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file/file.odin b/src/file/file.odin index 3728b33..a7be4a0 100644 --- a/src/file/file.odin +++ b/src/file/file.odin @@ -25,7 +25,7 @@ read :: proc(path: string) -> Asset { defer os.close(f) path := path // shadow parameter - path = strings.clone(os.name(f)) + path = strings.clone(path) size, size_err := os.file_size(f) if size_err != nil {