fix VC7 warnings

This commit is contained in:
Chris Danford
2005-02-15 21:58:35 +00:00
parent d76d94e64e
commit 48911f1572
3 changed files with 11 additions and 9 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ void RollingNumbers::LoadFromNode( const CString& sDir, const XNode* pNode )
pNode->GetAttrValue( "Format", m_sFormat );
pNode->GetAttrValue( "ApproachSeconds", m_fApproachSeconds );
int iTargetNumber;
if( pNode->GetAttrValue( "TargetNumber", iTargetNumber ) )
SetTargetNumber( iTargetNumber );
float fTargetNumber;
if( pNode->GetAttrValue( "TargetNumber", fTargetNumber ) )
SetTargetNumber( fTargetNumber );
UpdateText();
}