summaryrefslogtreecommitdiff
path: root/common/treepath_vfs.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-10-05 11:04:26 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-10-05 11:04:26 +0200
commitd0caac91ac0a03e021d50d1de978733e11ba2ccd (patch)
treeb763e376e8f289baaccf332398d9354663115792 /common/treepath_vfs.c
parentc41d3e7d896492dd70cd1d548ef4fd5b3cbe4954 (diff)
downloadtuxcmd-modules-d0caac91ac0a03e021d50d1de978733e11ba2ccd.tar.xz
VFS API break: Introduce FDisplayName propertyv0.6.52
Diffstat (limited to 'common/treepath_vfs.c')
-rw-r--r--common/treepath_vfs.c9
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");