aboutsummaryrefslogtreecommitdiff
path: root/backends/vkeybd
diff options
context:
space:
mode:
authorRobert Špalek2010-06-29 06:38:00 +0000
committerRobert Špalek2010-06-29 06:38:00 +0000
commit5e030bebcc8e1a1cf918559c729039fc50a470e7 (patch)
treec5bfc4ec5310150c38330a9d71fb509f77bd0b91 /backends/vkeybd
parent02fb3f88e22b8d11a080bbf3a4db624d97d4bd37 (diff)
downloadscummvm-rg350-5e030bebcc8e1a1cf918559c729039fc50a470e7.tar.gz
scummvm-rg350-5e030bebcc8e1a1cf918559c729039fc50a470e7.tar.bz2
scummvm-rg350-5e030bebcc8e1a1cf918559c729039fc50a470e7.zip
enable reading ZIP archives even without USE_ZLIB
our module unzip.cpp can read uncompressed ZIP archives even without zlib. if some of the files inside are compressed and zlib is not linked in, an error is returned. svn-id: r50483
Diffstat (limited to 'backends/vkeybd')
-rw-r--r--backends/vkeybd/virtual-keyboard.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/vkeybd/virtual-keyboard.cpp b/backends/vkeybd/virtual-keyboard.cpp
index bd512fe3ad..2c88322191 100644
--- a/backends/vkeybd/virtual-keyboard.cpp
+++ b/backends/vkeybd/virtual-keyboard.cpp
@@ -90,7 +90,6 @@ bool VirtualKeyboard::openPack(const String &packName, const FSNode &node) {
return true;
}
-#ifdef USE_ZLIB
if (node.getChild(packName + ".zip").exists()) {
// compressed keyboard pack
_fileArchive = makeZipArchive(node.getChild(packName + ".zip"));
@@ -109,7 +108,6 @@ bool VirtualKeyboard::openPack(const String &packName, const FSNode &node) {
return true;
}
-#endif
return false;
}