From 2b43535961f1e02ab3e333019c0da6fc3034d432 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 14 May 2024 18:45:47 +0100 Subject: [PATCH] Fix typo --- core/os/os2/temp_file.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/os/os2/temp_file.odin b/core/os/os2/temp_file.odin index ead2108de..3b3dbdd57 100644 --- a/core/os/os2/temp_file.odin +++ b/core/os/os2/temp_file.odin @@ -9,7 +9,7 @@ MAX_ATTEMPTS :: 1<<13 // Should be enough for everyone, right? // // Opens the file for reading and writing, with 0o666 permissions, and returns the new `^File`. // The filename is generated by taking a pattern, and adding a randomized string to the end. -// If the pattern includes an "*", the randm string replaces the last "*". +// If the pattern includes an "*", the random string replaces the last "*". // If `dir` is an empty tring, `temp_directory()` will be used. // // The caller must `close` the file once finished with. @@ -43,7 +43,7 @@ mkdir_temp :: make_directory_temp // Creates a new temporary directory in the directory `dir`, and returns the path of the new directory. // // The directory name is generated by taking a pattern, and adding a randomized string to the end. -// If the pattern includes an "*", the randm string replaces the last "*". +// If the pattern includes an "*", the random string replaces the last "*". // If `dir` is an empty tring, `temp_directory()` will be used. @(require_results) make_directory_temp :: proc(dir, pattern: string, allocator: runtime.Allocator) -> (temp_path: string, err: Error) {