Prechádzať zdrojové kódy

Services/UDS: Fixed a style mistake in GetChannel.

Sebastian Valle 9 rokov pred
rodič
commit
5c4bd3ef33
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      src/core/hle/service/nwm/nwm_uds.cpp

+ 1 - 2
src/core/hle/service/nwm/nwm_uds.cpp

@@ -320,8 +320,7 @@ static void GetChannel(Interface* self) {
     IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0);
     IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0);
     IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
     IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
 
 
-    bool is_connected = connection_status.status !=
-        static_cast<u32>(NetworkStatus::NotConnected);
+    bool is_connected = connection_status.status != static_cast<u32>(NetworkStatus::NotConnected);
 
 
     u8 channel = is_connected ? network_channel : 0;
     u8 channel = is_connected ? network_channel : 0;