modules/teamwork: The ih value would never be < 1 as we checked it already.
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 19 Sep 2014 08:35:47 +0000 (10:35 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 19 Sep 2014 09:29:47 +0000 (11:29 +0200)
ih did not check since the last time we checked it for < 1 a few lines before.

CID: 1232000

src/modules/teamwork/e_mod_tw.c

index 7c266c1..e5ea8ce 100644 (file)
@@ -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);