https://github.com/BestImageViewer/geeqie/issues/469
break;
}
- if (imd->orientation != imd->image_fd->exif_orientation ? imd->image_fd->exif_orientation : 1)
+ if (imd->orientation != (imd->image_fd->exif_orientation ? imd->image_fd->exif_orientation : 1))
{
if (!options->metadata.write_orientation)
{
here before it is taken over by the renderer. */
if (pixbuf) g_object_ref(pixbuf);
+ imd->orientation = EXIF_ORIENTATION_TOP_LEFT;
if (imd->image_fd)
{
if (imd->image_fd->user_orientation)