diff options
Diffstat (limited to 'common/treepath_vfs.c')
| -rw-r--r-- | common/treepath_vfs.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/treepath_vfs.c b/common/treepath_vfs.c index cdea20c..a1c6e91 100644 --- a/common/treepath_vfs.c +++ b/common/treepath_vfs.c @@ -127,8 +127,9 @@ TVFSResult vfs_filelist_file_info(struct VfsFilelistData *data, char *AFileName, if (node) { if (node->data) { copy_vfs_item(node->data, Item); - Item->sFileName = strdup(AFileName); - printf("(II) VFSFileInfo: found file: '%s'\n", Item->sFileName); + Item->FName = strdup(AFileName); + Item->FDisplayName = strdup(AFileName); + printf("(II) VFSFileInfo: found file: '%s'\n", Item->FName); return cVFS_OK; } else { printf("(EE) VFSFileInfo: node->data == NULL! \n"); @@ -167,7 +168,7 @@ TVFSResult vfs_filelist_list_first(struct VfsFilelistData *data, char *sDir, str struct PathTree* node = filelist_tree_get_item_by_index(data->list_dir_node, data->list_dir_index); if (node) { copy_vfs_item(node->data, Item); - printf("(II) VFSListFirst: found file: %s\n", Item->sFileName); + printf("(II) VFSListFirst: found file: %s\n", Item->FName); return cVFS_OK; } else { printf("(II) VFSListFirst: no more files\n"); @@ -190,7 +191,7 @@ TVFSResult vfs_filelist_list_next(struct VfsFilelistData *data, char *sDir, stru struct PathTree* node = filelist_tree_get_item_by_index(data->list_dir_node, data->list_dir_index); if (node) { copy_vfs_item(node->data, Item); - printf("(II) VFSListNext: found file: %s\n", Item->sFileName); + printf("(II) VFSListNext: found file: %s\n", Item->FName); return cVFS_OK; } else { printf("(II) VFSListNext: no more files\n"); |
