diff options
author | Max Horn | 2003-11-06 22:57:33 +0000 |
---|---|---|
committer | Max Horn | 2003-11-06 22:57:33 +0000 |
commit | 0f54b65caca3a69c147ee165b19b3668f8258cfb (patch) | |
tree | edf3f48bc85cee2aea835ae42d93afb7d138da5f /backends/fs/palmos | |
parent | 92824087945d8a4c64492f64f081fa98876a38ca (diff) | |
download | scummvm-rg350-0f54b65caca3a69c147ee165b19b3668f8258cfb.tar.gz scummvm-rg350-0f54b65caca3a69c147ee165b19b3668f8258cfb.tar.bz2 scummvm-rg350-0f54b65caca3a69c147ee165b19b3668f8258cfb.zip |
cleanup
svn-id: r11167
Diffstat (limited to 'backends/fs/palmos')
-rw-r--r-- | backends/fs/palmos/palmos-fs.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/backends/fs/palmos/palmos-fs.cpp b/backends/fs/palmos/palmos-fs.cpp index 5972917784..81df5f62ed 100644 --- a/backends/fs/palmos/palmos-fs.cpp +++ b/backends/fs/palmos/palmos-fs.cpp @@ -54,7 +54,7 @@ private: static void addFile (FSList* list, ListMode mode, const Char *base, FileInfoType* find_data); }; -void PalmOSFilesystemNode::addFile (FSList* list, ListMode mode, const char *base, FileInfoType* find_data) { +void PalmOSFilesystemNode::addFile(FSList* list, ListMode mode, const char *base, FileInfoType* find_data) { PalmOSFilesystemNode entry; bool isDirectory; @@ -125,14 +125,14 @@ FSList *PalmOSFilesystemNode::listDir(ListMode mode) const { } const char *lastPathComponent(const Common::String &str) { - const char *start = str.c_str(); - const char *cur = start + str.size() - 2; + const char *start = str.c_str(); + const char *cur = start + str.size() - 2; - while (cur > start && *cur != '/') { - --cur; - } + while (cur > start && *cur != '/') { + --cur; + } - return cur+1; + return cur+1; } FilesystemNode *PalmOSFilesystemNode::parent() const { |