From 0e775dd94a01bb815321e09712280824732ea4fe Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 7 Sep 2005 09:24:48 +0000 Subject: [PATCH] fix dimension specs that aren't at the end of the filename --- stepmania/src/RageTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageTexture.cpp b/stepmania/src/RageTexture.cpp index 11fd8d9982..8ca76512fc 100644 --- a/stepmania/src/RageTexture.cpp +++ b/stepmania/src/RageTexture.cpp @@ -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) ) {