edje: Edje_Edit - fix program transition source generation
authorAndrii Kroitor <an.kroitor@samsung.com>
Fri, 13 Mar 2015 07:31:47 +0000 (08:31 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 13 Mar 2015 08:33:29 +0000 (09:33 +0100)
Summary:
added missing in some cases ";\n"
@fix

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2097

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/edje/edje_edit.c

index faf5673c4668233fa251752520d692ca01cae126..cd3b38cc47c20ddb354686767e03c45d06dd1610 100644 (file)
@@ -10544,10 +10544,9 @@ _edje_generate_source_of_program(Evas_Object *obj, const char *program, Eina_Str
    if( db && (tweenmode >= EDJE_TWEEN_MODE_LINEAR) && (tweenmode < EDJE_TWEEN_MODE_LAST))
      {
         if(epr->tween.mode & EDJE_TWEEN_MODE_OPT_FROM_CURRENT)
-          BUF_APPENDF(" CURRENT;\n");
-        else
-          BUF_APPENDF(";\n");
+          BUF_APPENDF(" CURRENT");
      }
+   BUF_APPENDF(";\n");
    /* In */
    db = epr->in.from;
    db2 = epr->in.range;