Fix a typo that was causing VFS to fail for Qt.

This commit is contained in:
Sacha 2013-12-20 00:41:42 +10:00
parent ce20273f5f
commit ecd364d854

View File

@ -90,7 +90,7 @@ bool AssetsAssetReader::GetFileListing(const char *path, std::vector<FileInfo> *
bool AssetsAssetReader::GetFileInfo(const char *path, FileInfo *info) {
QFileInfo qinfo(QString(":/assets/") + path);
if (qinfo.exists()) {
if (!qinfo.exists()) {
info->exists = false;
info->size = 0;
return false;