devilhorns pushed a commit to branch master.
commit 53fd97fd084d518afe26a53982e87dacea8c717d
Author: Chris Michael <[email protected]>
Date: Mon Apr 29 12:58:02 2013 +0100
Add missing braces
Signed-off-by: Chris Michael <[email protected]>
---
src/modules/evas/engines/wayland_shm/evas_engine.c | 21 +++++++++++++--------
1 file 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)
if (!(info = re->info)) return;
if (info->info.edges & 4)
- if ((info->info.rotation == 90) || (info->info.rotation == 270))
- dx = re->ob->h - h;
- else
- dx = re->ob->w - w;
+ {
+ if ((info->info.rotation == 90) || (info->info.rotation == 270))
+ dx = re->ob->h - h;
+ else
+ dx = re->ob->w - w;
+ }
+
if (info->info.edges & 1)
- if ((info->info.rotation == 90) || (info->info.rotation == 270))
- dy = re->ob->w - w;
- else
- dy = re->ob->h - h;
+ {
+ if ((info->info.rotation == 90) || (info->info.rotation == 270))
+ dy = re->ob->w - w;
+ else
+ dy = re->ob->h - h;
+ }
re->outbuf_reconfigure(re->ob, dx, dy, w, h,
info->info.rotation, info->info.depth,
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr