diff --git a/src/offlinemap.cpp b/src/offlinemap.cpp index 27c98fe3..a31be8d7 100644 --- a/src/offlinemap.cpp +++ b/src/offlinemap.cpp @@ -348,11 +348,12 @@ bool OfflineMap::getImageInfo(const QString &path) } QString suffix = ii.suffix().toLower(); - if (suffix == "ozf3" || suffix == "ozf4") { + if (suffix == "ozf3" || suffix == "ozfx3" || suffix == "ozf4" + || suffix == "ozfx4") { _errorString = QString("%1: Obfuscated image files not supported") .arg(QFileInfo(_imgPath).fileName()); return false; - } else if (suffix == "ozf2") { + } else if (suffix == "ozf2" || suffix == "ozfx2") { _ozf.load(_imgPath); _size = _ozf.size(); } else {