From c414d1bcf8d57d256e2f598306f2eb66ace9a808 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 4 Sep 2005 16:45:38 +0000 Subject: [PATCH] fix _DEBUG compile errors --- stepmania/src/AnnouncerManager.cpp | 1 + stepmania/src/XmlFile.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/AnnouncerManager.cpp b/stepmania/src/AnnouncerManager.cpp index 4b07af96ae..6a018e954d 100644 --- a/stepmania/src/AnnouncerManager.cpp +++ b/stepmania/src/AnnouncerManager.cpp @@ -2,6 +2,7 @@ #include "AnnouncerManager.h" #include "RageLog.h" #include "RageUtil.h" +#include "RageFile.h" AnnouncerManager* ANNOUNCER = NULL; // global object accessable from anywhere in the program diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 514c3ec192..5e1390ee46 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -645,7 +645,7 @@ XNode *XNode::GetChild( const CString &sName ) multimap::iterator it = m_childs.find( sName ); if( it != m_childs.end() ) { - DEBUG_ASSERT( name == it->second->m_sName ); + DEBUG_ASSERT( sName == it->second->m_sName ); return it->second; } return NULL; @@ -656,7 +656,7 @@ const XNode *XNode::GetChild( const CString &sName ) const multimap::const_iterator it = m_childs.find( sName ); if( it != m_childs.end() ) { - DEBUG_ASSERT( name == it->second->m_sName ); + DEBUG_ASSERT( sName == it->second->m_sName ); return it->second; } return NULL;