diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-10-11 22:37:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-11 22:37:29 +0100 |
| commit | 9bdbb45517f24845804d2aeaea2d648eb74852bb (patch) | |
| tree | 70d6b68bee75e9928c95484d27112d3797eabdcd | |
| parent | 1b5860e574fad37f02a4e87a09f5f31d119c6662 (diff) | |
| parent | 721486f875032047b13b1a3b5dda3201951e1d3a (diff) | |
Merge pull request #2110 from elusivePorpoise/master
os2/file_windows fix
| -rw-r--r-- | core/os/os2/file_windows.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os2/file_windows.odin b/core/os/os2/file_windows.odin index 7589ed799..e4ae4856a 100644 --- a/core/os/os2/file_windows.odin +++ b/core/os/os2/file_windows.odin @@ -130,7 +130,7 @@ _new_file :: proc(handle: uintptr, name: string) -> ^File { f := new(File, _file_allocator()) f.impl.allocator = _file_allocator() - f.impl.fd = rawptr(fd) + f.impl.fd = rawptr(handle) f.impl.name = strings.clone(name, f.impl.allocator) f.impl.wname = win32.utf8_to_wstring(name, f.impl.allocator) |