Commit df4f4dc2 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

wrong test : this must be an AND operator, not OR

BUGS: 341298
FIXED-IN: 4.6.0
parent 1a9009a6
......@@ -931,7 +931,7 @@ bool KExiv2::rotateExifQImage(QImage& image, ImageOrientation orientation) const
{
QMatrix matrix = RotationMatrix::toMatrix(orientation);
if ((orientation != ORIENTATION_NORMAL) || (orientation != ORIENTATION_UNSPECIFIED))
if ((orientation != ORIENTATION_NORMAL) && (orientation != ORIENTATION_UNSPECIFIED))
{
image = image.transformed(matrix);
return true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment