diff options
author | Max Horn | 2007-12-25 23:16:52 +0000 |
---|---|---|
committer | Max Horn | 2007-12-25 23:16:52 +0000 |
commit | fa1052e1b20d70f2924d8827173c25fc41f6d25b (patch) | |
tree | 03a8c5a86b3283ee136a88378ef4fa51b1670329 /backends/fs/posix | |
parent | 1796c147fc1dc633827c253f270a711d884642e7 (diff) | |
download | scummvm-rg350-fa1052e1b20d70f2924d8827173c25fc41f6d25b.tar.gz scummvm-rg350-fa1052e1b20d70f2924d8827173c25fc41f6d25b.tar.bz2 scummvm-rg350-fa1052e1b20d70f2924d8827173c25fc41f6d25b.zip |
Removed obsolete comment
svn-id: r29992
Diffstat (limited to 'backends/fs/posix')
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 436e0908dd..15acdbbf06 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -112,27 +112,6 @@ void POSIXFilesystemNode::setFlags() { } POSIXFilesystemNode::POSIXFilesystemNode() { -/* The Browser code now saves the last browsed directory into the config file. - Hence the need to start at the "current" directory is far less, and we can - remove this hack for now. Still, there may be some need to obtain a ref - to the "current" directory. See the TODO list for some thoughts on this. - - I am leaving this code in here for the time being, to be used as reference. - - // FIXME: It is evil & slow to always call getcwd here. - // The intention behind this hack was/is to be more user friendly - // in our save/load dialogs: Instead of starting at the FS root, - // we start at the current directory. However, that's just a hack. - // Proper solution would be to extend FilesystemNode by the concept - // of 'current' or 'default' directory, and then modify the - // save/load dialogs to explicitly use that as starting point. - char buf[MAXPATHLEN]; - getcwd(buf, MAXPATHLEN); - - _path = buf; - _displayName = lastPathComponent(_path); - _path += '/'; -*/ // The root dir. _path = "/"; _displayName = _path; |