Fix crash. Gcc emits code causing an abort when passing non-POD type through ... since it cannot know to try to cast to an int.

This commit is contained in:
Steve Checkoway
2005-04-28 17:11:25 +00:00
parent 5096cb77d2
commit a7c614ff90
+4 -4
View File
@@ -172,10 +172,10 @@ void ScreenCenterImage::Move( Axis axis, float fDelta )
CString sMessage =
ssprintf( "Centering: x=%d, y=%d, width=%d, height=%d",
PREFSMAN->m_iCenterImageTranslateX,
PREFSMAN->m_iCenterImageTranslateY,
PREFSMAN->m_fCenterImageAddWidth,
PREFSMAN->m_fCenterImageAddHeight );
PREFSMAN->m_iCenterImageTranslateX.Value(),
PREFSMAN->m_iCenterImageTranslateY.Value(),
PREFSMAN->m_fCenterImageAddWidth.Value(),
PREFSMAN->m_fCenterImageAddHeight.Value() );
SCREENMAN->SystemMessageNoAnimate( sMessage );
}