aboutsummaryrefslogtreecommitdiff
path: root/gui/themebrowser.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-12-22 11:22:15 +0000
committerJordi Vilalta Prat2008-12-22 11:22:15 +0000
commitb1999a2a16b83aa031df2ce1cb266b7fea8847da (patch)
treea042bbc975ead7e8b38243d0d25822d70e72fe69 /gui/themebrowser.cpp
parent2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f (diff)
downloadscummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.gz
scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.bz2
scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.zip
Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
Diffstat (limited to 'gui/themebrowser.cpp')
-rw-r--r--gui/themebrowser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp
index c7b255cc1e..a1091ee70d 100644
--- a/gui/themebrowser.cpp
+++ b/gui/themebrowser.cpp
@@ -150,11 +150,11 @@ void ThemeBrowser::addDir(ThList &list, const Common::FSNode &node) {
fslist.push_back(node); // Yup, also scan the dir itself
for (Common::FSList::const_iterator i = fslist.begin(); i != fslist.end(); ++i) {
-
+
Entry th;
if (isTheme(*i, th)) {
bool add = true;
-
+
for (ThList::const_iterator p = list.begin(); p != list.end(); ++p) {
if (p->name == th.name || p->file == th.file) {
add = false;
@@ -163,14 +163,14 @@ void ThemeBrowser::addDir(ThList &list, const Common::FSNode &node) {
}
if (add)
- list.push_back(th);
+ list.push_back(th);
}
}
}
bool ThemeBrowser::isTheme(const Common::FSNode &node, Entry &out) {
- out.file = node.getPath();
-
+ out.file = node.getPath();
+
#ifdef USE_ZLIB
if (!out.file.hasSuffix(".zip") && !node.isDirectory())
return false;
@@ -178,7 +178,7 @@ bool ThemeBrowser::isTheme(const Common::FSNode &node, Entry &out) {
if (!node.isDirectory())
return false;
#endif
-
+
if (!ThemeEngine::themeConfigUseable(node, out.name))
return false;