Add missing braces

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-04-29 12:58:02 +01:00
parent d3c79b813e
commit 53fd97fd08
1 changed files with 13 additions and 8 deletions

View File

@ -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,