style cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user