summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-04-29 12:58:02 +0100
committerChris Michael <cp.michael@samsung.com>2013-04-29 12:58:02 +0100
commit53fd97fd084d518afe26a53982e87dacea8c717d (patch)
treefacd4ecf4f8f21833657a3e4a1285e1b59df1036 /src
parentd3c79b813e87415c27552d77b102ad9e401493a7 (diff)
Add missing braces
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 9453e3b..c87e328 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -326,15 +326,20 @@ eng_output_resize(void *data, int w, int h)
326 if (!(info = re->info)) return; 326 if (!(info = re->info)) return;
327 327
328 if (info->info.edges & 4) 328 if (info->info.edges & 4)
329 if ((info->info.rotation == 90) || (info->info.rotation == 270)) 329 {
330 dx = re->ob->h - h; 330 if ((info->info.rotation == 90) || (info->info.rotation == 270))
331 else 331 dx = re->ob->h - h;
332 dx = re->ob->w - w; 332 else
333 dx = re->ob->w - w;
334 }
335
333 if (info->info.edges & 1) 336 if (info->info.edges & 1)
334 if ((info->info.rotation == 90) || (info->info.rotation == 270)) 337 {
335 dy = re->ob->w - w; 338 if ((info->info.rotation == 90) || (info->info.rotation == 270))
336 else 339 dy = re->ob->w - w;
337 dy = re->ob->h - h; 340 else
341 dy = re->ob->h - h;
342 }
338 343
339 re->outbuf_reconfigure(re->ob, dx, dy, w, h, 344 re->outbuf_reconfigure(re->ob, dx, dy, w, h,
340 info->info.rotation, info->info.depth, 345 info->info.rotation, info->info.depth,