diff --git a/core/os/dir_windows.odin b/core/os/dir_windows.odin index 1168fe18b..3fd045560 100644 --- a/core/os/dir_windows.odin +++ b/core/os/dir_windows.odin @@ -126,7 +126,7 @@ _read_directory_iterator_init :: proc(it: ^Read_Directory_Iterator, f: ^File) { } err: Error - it.impl.path, err = _cleanpath_from_buf(wpath, file_allocator()) + it.impl.path, err = get_absolute_path(impl.name, file_allocator()) if err != nil { read_directory_iterator_set_error(it, impl.name, err) }