fix(os): store absolute path on File_Info on Windows, matching Linux

fixes #6170
This commit is contained in:
IllusionMan1212
2026-05-04 01:25:19 +02:00
parent 3a70c8c89a
commit a1a7da6f8a

View File

@@ -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)
}