raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=50b4f61baead1673f2e1c9c01b622b51e21f8948

commit 50b4f61baead1673f2e1c9c01b622b51e21f8948
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Oct 6 09:13:14 2014 +0900

    emotion - limit pos set seecks to 0.0 at minumum point
---
 src/lib/emotion/emotion_smart.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 9082570..fe02a8f 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -689,6 +689,7 @@ _emotion_object_efl_player_position_set(Eo *obj, 
Emotion_Object_Data *sd, double
 {
    DBG("sec=%f", sec);
    if (!sd->engine_instance) return;
+   if (sec < 0.0) sec = 0.0;
    if (!sd->open)
      {
         sd->remember_jump = sec;

-- 


Reply via email to