aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/wii/wii-fs.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-09 15:02:02 +0200
committerEugene Sandulenko2016-10-09 15:02:02 +0200
commit355c4fa646c375c2ac42450871ff3d9221d1719d (patch)
tree81ef00feaedcd66821c56b7ae576ca068f8c997b /backends/fs/wii/wii-fs.cpp
parentdead4aa01446da2bf711e64a4e681be460fa1202 (diff)
downloadscummvm-rg350-355c4fa646c375c2ac42450871ff3d9221d1719d.tar.gz
scummvm-rg350-355c4fa646c375c2ac42450871ff3d9221d1719d.tar.bz2
scummvm-rg350-355c4fa646c375c2ac42450871ff3d9221d1719d.zip
JANITORIAL: Remove more trailing spaces
Diffstat (limited to 'backends/fs/wii/wii-fs.cpp')
-rw-r--r--backends/fs/wii/wii-fs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/wii/wii-fs.cpp b/backends/fs/wii/wii-fs.cpp
index 46041bf499..e036b75019 100644
--- a/backends/fs/wii/wii-fs.cpp
+++ b/backends/fs/wii/wii-fs.cpp
@@ -168,7 +168,7 @@ bool WiiFilesystemNode::getChildren(AbstractFSList &list, ListMode mode, bool hi
if (newPath.lastChar() != '/')
newPath += '/';
newPath += pent->d_name;
-
+
bool isDir = false;
tmpdir = opendir(newPath.c_str());
if(tmpdir)
@@ -176,17 +176,17 @@ bool WiiFilesystemNode::getChildren(AbstractFSList &list, ListMode mode, bool hi
isDir = true;
closedir(tmpdir);
}
-
+
if ((mode == Common::FSNode::kListFilesOnly && isDir) ||
(mode == Common::FSNode::kListDirectoriesOnly && !isDir))
continue;
-
+
struct stat st;
st.st_mode = 0;
st.st_mode |= ( isDir ? S_IFDIR : 0 );
st.st_mode |= S_IRUSR;
st.st_mode |= S_IWUSR;
-
+
list.push_back(new WiiFilesystemNode(newPath, &st));
}