diff options
author | Max Horn | 2008-11-05 11:57:11 +0000 |
---|---|---|
committer | Max Horn | 2008-11-05 11:57:11 +0000 |
commit | b2d93543d4d40941dceefb5b6e8a161a5903a2fc (patch) | |
tree | c6f46cf07a04b98ce140756570db5d5fee8dbde3 | |
parent | f2c5d0563fdd59668978d8cb0564a95811984a51 (diff) | |
download | scummvm-rg350-b2d93543d4d40941dceefb5b6e8a161a5903a2fc.tar.gz scummvm-rg350-b2d93543d4d40941dceefb5b6e8a161a5903a2fc.tar.bz2 scummvm-rg350-b2d93543d4d40941dceefb5b6e8a161a5903a2fc.zip |
Paranoia check
svn-id: r34901
-rw-r--r-- | gui/theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/theme.cpp b/gui/theme.cpp index 1387eb94ea..6e05ab9701 100644 --- a/gui/theme.cpp +++ b/gui/theme.cpp @@ -156,7 +156,7 @@ bool Theme::themeConfigUseable(const Common::FSNode &node, Common::String &theme Common::File stream; bool foundHeader = false; - if (node.getName().hasSuffix(".zip")) { + if (node.getName().hasSuffix(".zip") && !node.isDirectory()) { #ifdef USE_ZLIB Common::ZipArchive zipArchive(node); if (zipArchive.hasFile("THEMERC")) { |