diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-12 13:20:55 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-12 13:20:55 +0100 |
| commit | dc832ad49fa01b083b08a2e09102a66f31b025c1 (patch) | |
| tree | bde9f37d3ee6831a18b6e2835aa38d818f8324f9 /core/path/filepath | |
| parent | eef44b11f3b26cde6086251ce1b9f661557e4d5c (diff) | |
Minor fix
Diffstat (limited to 'core/path/filepath')
| -rw-r--r-- | core/path/filepath/path_windows.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/path/filepath/path_windows.odin b/core/path/filepath/path_windows.odin index 25b2ae500..28238dd6e 100644 --- a/core/path/filepath/path_windows.odin +++ b/core/path/filepath/path_windows.odin @@ -68,7 +68,7 @@ temp_full_path :: proc(name: string) -> (path: string, err: os.Errno) { return "", os.Errno(win32.GetLastError()) } if n <= u32(len(buf)) { - return win32.utf16_to_utf8(buf[:n], ta), os.ERROR_NONE + return win32.utf16_to_utf8(buf[:n], ta) or_else "", os.ERROR_NONE } resize(&buf, len(buf)*2) } |