Simplify splitpath.

Allow a font to have an INI and no pages.
This commit is contained in:
Glenn Maynard
2003-01-16 22:49:22 +00:00
parent fac3d3aa69
commit ffc6ae2c37
4 changed files with 106 additions and 103 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ RageTexture* RageTextureManager::LoadTexture( RageTextureID ID )
ID.iColorDepth = TEXTUREMAN->GetTextureColorDepth();
ID.iMaxSize = TEXTUREMAN->GetMaxTextureResolution();
CString sDrive, sDir, sFName, sExt;
splitpath( false, ID.filename, sDrive, sDir, sFName, sExt );
CString sDir, sFName, sExt;
splitpath( ID.filename, sDir, sFName, sExt );
RageTexture* pTexture;
if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" )