stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=88f4b19f30c1409b346b75a03488ef726ac93d46

commit 88f4b19f30c1409b346b75a03488ef726ac93d46
Author: Stefan Schmidt <[email protected]>
Date:   Fri Sep 19 10:35:47 2014 +0200

    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
---
 src/modules/teamwork/e_mod_tw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/teamwork/e_mod_tw.c b/src/modules/teamwork/e_mod_tw.c
index 7c266c1..e5ea8ce 100644
--- a/src/modules/teamwork/e_mod_tw.c
+++ b/src/modules/teamwork/e_mod_tw.c
@@ -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);

-- 


Reply via email to