Merge pull request #3290 from JosJuice/compression-condition DolphinWX: Correct a compression condition