discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=18cc2222f33be3ad9392eaf8c4a0d082dda5014d

commit 18cc2222f33be3ad9392eaf8c4a0d082dda5014d
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Fri Apr 4 14:04:36 2014 -0400

    remove unnecessary battery check
    
    CID 1039945
---
 src/modules/battery/e_mod_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index 6503818..a69da52 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -237,7 +237,6 @@ _battery_face_time_set(Evas_Object *battery, int t)
 
    hrs = (t / 3600);
    mins = ((t) / 60 - (hrs * 60));
-   if (hrs < 0) hrs = 0;
    if (mins < 0) mins = 0;
    snprintf(buf, sizeof(buf), "%i:%02i", hrs, mins);
    edje_object_part_text_set(battery, "e.text.time", buf);

-- 


Reply via email to