War on -Werror, part 14: More hodgepodge.
This commit is contained in:
@@ -204,7 +204,7 @@ float ArchHooks_Win32::GetDisplayAspectRatio()
|
||||
ZERO( dm );
|
||||
dm.dmSize = sizeof(dm);
|
||||
BOOL bResult = EnumDisplaySettings( NULL, ENUM_REGISTRY_SETTINGS, &dm );
|
||||
ASSERT( bResult );
|
||||
ASSERT( bResult != 0 );
|
||||
return dm.dmPelsWidth / (float)dm.dmPelsHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user