evas conversion - fix bad rotation handling

coveriity found bad copy & paste in conversion code - 270 rot twice.
fixes CID 1039448
This commit is contained in:
Carsten Haitzler 2014-08-27 14:24:08 +09:00
parent 372b2a256f
commit 33d39beac6
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h EINA_UNUSED, int depth, D
else
return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_270;
}
if (rotation == 270)
if (rotation == 90)
{
if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_90;