edje_edit: Actually check for z if we want to append z
authorStefan Schmidt <s.schmidt@samsung.com>
Fri, 8 Aug 2014 12:37:27 +0000 (14:37 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 8 Aug 2014 12:37:27 +0000 (14:37 +0200)
Classical copy and paste error.

CID: 1224760

src/lib/edje/edje_edit.c

index d471994..6b0d32e 100644 (file)
@@ -9987,7 +9987,7 @@ _edje_generate_source_of_state(Evas_Object *obj, const char *part, const char *s
                BUF_APPENDF(I7"x: %g;\n", TO_DOUBLE(pd->map.rot.x));
              if (TO_DOUBLE(pd->map.rot.y) != 0.0)
                BUF_APPENDF(I7"y: %g;\n", TO_DOUBLE(pd->map.rot.y));
-             if (TO_DOUBLE(pd->map.rot.x) != 0.0)
+             if (TO_DOUBLE(pd->map.rot.z) != 0.0)
                BUF_APPENDF(I7"z: %g;\n", TO_DOUBLE(pd->map.rot.z));
 
              BUF_APPEND(I6"}\n");