[haiku-commits] haiku: hrev50300 - src/add-ons/accelerants/intel_extreme

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 9 May 2016 17:39:46 +0200 (CEST)

hrev50300 adds 1 changeset to branch 'master'
old head: 50b0cba0c485bff2683e3b59f7b5b7e4c8f424da
new head: 5265115b177e5c73ea931c64cff46e7e02ddf83c
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=5265115b177e+%5E50b0cba0c485

----------------------------------------------------------------------------

5265115b177e: Ports.cpp: fix gcc6 build
  
  * Reindent source code, to fix gcc6
    '-Werror=misleading-indentation' warnings.

                                      [ Murai Takashi <tmurai01@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50300
Commit:      5265115b177e5c73ea931c64cff46e7e02ddf83c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=5265115b177e
Author:      Murai Takashi <tmurai01@xxxxxxxxx>
Date:        Thu May  5 08:06:04 2016 UTC
Committer:   Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Commit-Date: Mon May  9 15:36:34 2016 UTC

----------------------------------------------------------------------------

1 file changed, 4 insertions(+), 4 deletions(-)
src/add-ons/accelerants/intel_extreme/Ports.cpp | 8 ++++----

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp 
b/src/add-ons/accelerants/intel_extreme/Ports.cpp
index f6f865b..ece8cfd 100644
--- a/src/add-ons/accelerants/intel_extreme/Ports.cpp
+++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp
@@ -130,10 +130,10 @@ Port::SetPipe(Pipe* pipe)
 
     uint32 portState = read32(portRegister);
 
-    if (pipe->Index() == INTEL_PIPE_A)
-        write32(portRegister, portState & ~DISPLAY_MONITOR_PIPE_B);
-    else
-        write32(portRegister, portState | DISPLAY_MONITOR_PIPE_B);
+       if (pipe->Index() == INTEL_PIPE_A)
+               write32(portRegister, portState & ~DISPLAY_MONITOR_PIPE_B);
+       else
+               write32(portRegister, portState | DISPLAY_MONITOR_PIPE_B);
 
        fPipe = pipe;
 


Other related posts: