aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorJoost Peters2007-09-19 08:14:20 +0000
committerJoost Peters2007-09-19 08:14:20 +0000
commit55d7f0b132a98dabfd7e31d68bc8095de61838f1 (patch)
tree5f469dfb51fc7b0cc6060f35cd13032f28369f17 /backends/fs
parent8f729ddea0f8adb6c46c67d8192763952b19ff10 (diff)
downloadscummvm-rg350-55d7f0b132a98dabfd7e31d68bc8095de61838f1.tar.gz
scummvm-rg350-55d7f0b132a98dabfd7e31d68bc8095de61838f1.tar.bz2
scummvm-rg350-55d7f0b132a98dabfd7e31d68bc8095de61838f1.zip
_displayName now contains the last path component, not the full path
svn-id: r28962
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/psp/psp_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/psp/psp_fs.cpp b/backends/fs/psp/psp_fs.cpp
index 04f24a98cc..dfe52c1125 100644
--- a/backends/fs/psp/psp_fs.cpp
+++ b/backends/fs/psp/psp_fs.cpp
@@ -104,7 +104,7 @@ PSPFilesystemNode::PSPFilesystemNode(const Common::String &p, bool verify) {
assert(p.size() > 0);
_path = p;
- _displayName = _path;
+ _displayName = lastPathComponent(_path);
_isValid = true;
_isDirectory = true;