X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fiterate_dir.c;h=c9de38cf1f118591400c4d0ebed669f6e4aa74fe;hb=8df639463ae0c754d2b1af3d6c1d22e59ee3ccf8;hp=451143a765f9015236345f40f01640e07d646a7a;hpb=7b587995ba7f2fb4e3a8d23f4be0ad91f1ab066a;p=wimlib diff --git a/src/iterate_dir.c b/src/iterate_dir.c index 451143a7..c9de38cf 100644 --- a/src/iterate_dir.c +++ b/src/iterate_dir.c @@ -91,12 +91,12 @@ init_wimlib_dentry(struct wimlib_dir_entry *wdentry, struct wim_dentry *dentry, const struct wim_inode_stream *strm; struct wimlib_unix_data unix_data; - ret = utf16le_get_tstr(dentry->file_name, dentry->file_name_nbytes, + ret = utf16le_get_tstr(dentry->d_name, dentry->d_name_nbytes, &wdentry->filename, &dummy); if (ret) return ret; - ret = utf16le_get_tstr(dentry->short_name, dentry->short_name_nbytes, + ret = utf16le_get_tstr(dentry->d_short_name, dentry->d_short_name_nbytes, &wdentry->dos_name, &dummy); if (ret) return ret;