Get current directory via a path of '.'

svn-id: r22435
This commit is contained in:
Travis Howell 2006-05-13 10:42:21 +00:00
parent f840b356c6
commit 1124fa8d90

View File

@ -121,7 +121,7 @@ void WindowsFilesystemNode::addFile(AbstractFSList &list, ListMode mode, const c
}
AbstractFilesystemNode *AbstractFilesystemNode::getCurrentDirectory() {
return AbstractFilesystemNode::getRoot();
return new WindowsFilesystemNode((const char *)".");
}
AbstractFilesystemNode *AbstractFilesystemNode::getRoot() {