From 4dd5728ee08c4e9edb44c1477e5ecc3c1bb3662f Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 17 Mar 2006 00:15:35 +0000 Subject: [PATCH] style cleanup --- .../src/arch/InputHandler/InputHandler_DirectInputHelper.cpp | 4 +++- stepmania/src/archutils/Win32/arch_time.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp b/stepmania/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp index 578614bf6f..67f093a4e0 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp @@ -97,7 +97,9 @@ bool DIDevice::Open() /* This device doesn't support buffering, so we're forced * to use less reliable polling. */ buffered = false; - } else if ( hr != DI_OK ) { + } + else if ( hr != DI_OK ) + { LOG->Info( hr_ssprintf(hr, "OpenDevice(%s): IDirectInputDevice2::SetProperty", JoystickInst.tszProductName) ); return false; } diff --git a/stepmania/src/archutils/Win32/arch_time.cpp b/stepmania/src/archutils/Win32/arch_time.cpp index 88a3f52d7d..3d36a92719 100644 --- a/stepmania/src/archutils/Win32/arch_time.cpp +++ b/stepmania/src/archutils/Win32/arch_time.cpp @@ -26,7 +26,7 @@ struct tm *my_gmtime_r( const time_t *timep, struct tm *result ) void my_usleep( unsigned long usec ) { - Sleep( usec/1000 ); + ::Sleep( usec/1000 ); } /*