diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-05 11:04:26 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-05 11:04:26 +0200 |
| commit | d0caac91ac0a03e021d50d1de978733e11ba2ccd (patch) | |
| tree | b763e376e8f289baaccf332398d9354663115792 /common/treepath_vfs.c | |
| parent | c41d3e7d896492dd70cd1d548ef4fd5b3cbe4954 (diff) | |
| download | tuxcmd-modules-0.6.52.tar.xz | |
VFS API break: Introduce FDisplayName propertyv0.6.52
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"); |
