forked from enlightenment/enlightenment
modules/teamwork: The ih value would never be < 1 as we checked it already.
ih did not check since the last time we checked it for < 1 a few lines before. CID: 1232000
This commit is contained in:
parent
3a1cc22f83
commit
88f4b19f30
|
@ -890,7 +890,6 @@ tw_video_opened_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
|||
ratio = emotion_object_ratio_get(obj);
|
||||
if (ratio > 0.0) iw = (ih * ratio) + 0.5;
|
||||
if (iw < 1) iw = 1;
|
||||
if (ih < 1) ih = 1;
|
||||
|
||||
h = (w * ih) / iw;
|
||||
e_livethumb_thumb_set(data, obj);
|
||||
|
|
Loading…
Reference in New Issue