From c1e664b6d681e4f59de361457e7487c138aaf31f Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Thu, 3 Dec 2015 07:13:15 +0100 Subject: IOS: Replaces spaces with tabs --- backends/fs/chroot/chroot-fs-factory.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'backends/fs/chroot/chroot-fs-factory.cpp') diff --git a/backends/fs/chroot/chroot-fs-factory.cpp b/backends/fs/chroot/chroot-fs-factory.cpp index 4030f4f502..fa98ab75d3 100644 --- a/backends/fs/chroot/chroot-fs-factory.cpp +++ b/backends/fs/chroot/chroot-fs-factory.cpp @@ -32,29 +32,29 @@ #include "backends/fs/posix/posix-fs-factory.h" ChRootFilesystemFactory::ChRootFilesystemFactory(Common::String root) { - _root = root; + _root = root; } AbstractFSNode *ChRootFilesystemFactory::makeRootFileNode() const { - return new ChRootFilesystemNode(_root, "/"); + return new ChRootFilesystemNode(_root, "/"); } AbstractFSNode *ChRootFilesystemFactory::makeCurrentDirectoryFileNode() const { - char buf[MAXPATHLEN]; - if (getcwd(buf, MAXPATHLEN) == NULL) { - return NULL; - } + char buf[MAXPATHLEN]; + if (getcwd(buf, MAXPATHLEN) == NULL) { + return NULL; + } - if (Common::String(buf).hasPrefix(_root + Common::String("/"))) { - return new ChRootFilesystemNode(_root, buf + _root.size()); - } + if (Common::String(buf).hasPrefix(_root + Common::String("/"))) { + return new ChRootFilesystemNode(_root, buf + _root.size()); + } - return new ChRootFilesystemNode(_root, "/"); + return new ChRootFilesystemNode(_root, "/"); } AbstractFSNode *ChRootFilesystemFactory::makeFileNodePath(const Common::String &path) const { - assert(!path.empty()); - return new ChRootFilesystemNode(_root, path); + assert(!path.empty()); + return new ChRootFilesystemNode(_root, path); } #endif -- cgit v1.2.3