From 24ee4da4f9896d37503d657df06d49e3c386015e Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 7 Oct 2018 18:56:53 +0200 Subject: [PATCH] Ref T391, style --- src/blackinput/win/joystickwindows.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/blackinput/win/joystickwindows.cpp b/src/blackinput/win/joystickwindows.cpp index 99fac783f..a7dcecc30 100644 --- a/src/blackinput/win/joystickwindows.cpp +++ b/src/blackinput/win/joystickwindows.cpp @@ -45,7 +45,7 @@ namespace BlackInput } // Set cooperative level - if(!helperWindow) { return false; } + if (!helperWindow) { return false; } if (FAILED(hr = m_directInputDevice->SetCooperativeLevel(helperWindow, DISCL_NONEXCLUSIVE | DISCL_BACKGROUND))) { CLogMessage(this).warning("IDirectInputDevice8::SetCooperativeLevel failed: ") << hr; @@ -236,11 +236,11 @@ namespace BlackInput /* Create the window. */ helperWindow = CreateWindowEx(0, helperWindowClassName, - helperWindowName, - WS_OVERLAPPED, CW_USEDEFAULT, - CW_USEDEFAULT, CW_USEDEFAULT, - CW_USEDEFAULT, HWND_MESSAGE, nullptr, - hInstance, nullptr); + helperWindowName, + WS_OVERLAPPED, CW_USEDEFAULT, + CW_USEDEFAULT, CW_USEDEFAULT, + CW_USEDEFAULT, HWND_MESSAGE, nullptr, + hInstance, nullptr); if (helperWindow == nullptr) { UnregisterClass(helperWindowClassName, hInstance);