aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 15:21:15 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:44:00 +0000
commit7847af7f5734cdd3f098e6f8af4d07a012d0ccc7 (patch)
treeaf23d368cfcace2e70c9893c6ef321c6ba9f03b2 /src/lib/edje
parentedje calc - warn - fix warn about initting all fields of calc params (diff)
downloadefl-7847af7f5734cdd3f098e6f8af4d07a012d0ccc7.tar.gz
edje calc - wanr - move fallthrough tag to just before next case
fixes warning for it not being there... no bug here though
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_calc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 33af2edbf9..1055791495 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -4630,14 +4630,14 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
switch (ep->part->type)
{
case EDJE_PART_TYPE_IMAGE:
- {
- Edje_Part_Description_Image *img_desc = (Edje_Part_Description_Image *)chosen_desc;
+ {
+ Edje_Part_Description_Image *img_desc = (Edje_Part_Description_Image *)chosen_desc;
- evas_object_image_scale_hint_set(ep->object,
- img_desc->image.scale_hint);
+ evas_object_image_scale_hint_set(ep->object,
+ img_desc->image.scale_hint);
+ }
+ /* No break here as we share the rest of the code for all types. Intended fall-through*/
EINA_FALLTHROUGH;
- /* No break here as we share the rest of the code for all types. Intended fall-through*/
- }
case EDJE_PART_TYPE_PROXY:
EINA_FALLTHROUGH;