fix dimension specs that aren't at the end of the filename

This commit is contained in:
Glenn Maynard
2005-09-07 09:24:48 +00:00
parent 3db3ff7e51
commit 0e775dd94a
+1 -1
View File
@@ -51,7 +51,7 @@ void RageTexture::CreateFrameRects()
void RageTexture::GetFrameDimensionsFromFileName( CString sPath, int* piFramesWide, int* piFramesHigh )
{
static Regex match( " ([0-9]+)x([0-9]+)(\\.|$)" );
static Regex match( " ([0-9]+)x([0-9]+)([\\. ]|$)" );
CStringArray asMatch;
if( !match.Compare(sPath, asMatch) )
{