From 713e331b2ab3c24c91f7c1995b0c3079ae7228d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 30 Apr 2017 18:27:12 +0200 Subject: [PATCH] Some more OZFx extensions --- src/offlinemap.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {