Consolidate duplicate function

This commit is contained in:
Thad Ward
2003-09-03 13:03:41 +00:00
parent 5790860a2e
commit 05443292da
2 changed files with 1 additions and 10 deletions
-10
View File
@@ -49,16 +49,6 @@
RageTextureManager* TEXTUREMAN = NULL;
static CString GetExtension(const CString &fn)
{
CString sDir, sFName, sExt;
splitpath( fn, sDir, sFName, sExt );
sExt.MakeLower();
return sExt;
}
RageTextureManager::RageTextureManager()
{
m_iNoWarnAboutOddDimensions = 0;
+1
View File
@@ -178,6 +178,7 @@ inline CString GetExtension( CString sPath )
{
CString Dir, FName, Ext;
splitrelpath( sPath, Dir, FName, Ext );
Ext.MakeLower();
return Ext;
};