From e5cb76befdbbedc1ff086ca4412121af7de3fefc Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Thu, 5 May 2016 17:11:48 +0900 Subject: [PATCH] accelerants/radeon: fix gcc6 build * Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings. Signed-off-by: Augustin Cavalier --- src/add-ons/accelerants/radeon/Cursor.c | 8 ++++---- src/add-ons/accelerants/radeon/impactv.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/add-ons/accelerants/radeon/Cursor.c b/src/add-ons/accelerants/radeon/Cursor.c index f4f0bbae32..0e09752c7d 100644 --- a/src/add-ons/accelerants/radeon/Cursor.c +++ b/src/add-ons/accelerants/radeon/Cursor.c @@ -187,11 +187,11 @@ void moveOneCursor( accelerator_info *ai, int crtc_idx, int x, int y ) xorigin = 0; yorigin = 0; - if( x < 0 ) - xorigin = -x; + if( x < 0 ) + xorigin = -x; - if( y < 0 ) - yorigin = -y; + if( y < 0 ) + yorigin = -y; if( crtc_idx == 0 ) { OUTREG( ai->regs, RADEON_CUR_HORZ_VERT_OFF, RADEON_CUR_LOCK diff --git a/src/add-ons/accelerants/radeon/impactv.c b/src/add-ons/accelerants/radeon/impactv.c index f2bf2086e4..823ee8dbd8 100644 --- a/src/add-ons/accelerants/radeon/impactv.c +++ b/src/add-ons/accelerants/radeon/impactv.c @@ -509,8 +509,8 @@ void Radeon_CalcImpacTVRegisters( (1 << RADEON_TV_CLOCK_SEL_CNTL_BYTCLKD_SHIFT); values->tv_clkout_cntl = 0x09; - if( !internal_encoder ) - values->tv_clkout_cntl |= 1 << 5; + if( !internal_encoder ) + values->tv_clkout_cntl |= 1 << 5; values->tv_htotal = mode->timing.h_total - 1; values->tv_hsize = mode->timing.h_display;