summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-10-06 09:13:14 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-10-06 09:13:14 +0900
commit50b4f61baead1673f2e1c9c01b622b51e21f8948 (patch)
tree11d3a009fd82ab6f15056ab3965b5e494cb1a4d3 /src/lib/emotion/emotion_smart.c
parent7757b40249e3a2e90f34960be12817307e407209 (diff)
emotion - limit pos set seecks to 0.0 at minumum point
Diffstat (limited to 'src/lib/emotion/emotion_smart.c')
-rw-r--r--src/lib/emotion/emotion_smart.c1
1 files changed, 1 insertions, 0 deletions
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
689{ 689{
690 DBG("sec=%f", sec); 690 DBG("sec=%f", sec);
691 if (!sd->engine_instance) return; 691 if (!sd->engine_instance) return;
692 if (sec < 0.0) sec = 0.0;
692 if (!sd->open) 693 if (!sd->open)
693 { 694 {
694 sd->remember_jump = sec; 695 sd->remember_jump = sec;