diff --git a/src/RageBitmapTexture.cpp b/src/RageBitmapTexture.cpp index c6628ed6ba..2652676f0b 100644 --- a/src/RageBitmapTexture.cpp +++ b/src/RageBitmapTexture.cpp @@ -29,7 +29,7 @@ static void GetResolutionFromFileName( RString sPath, int &iWidth, int &iHeight // Check for nonsense values. Some people might not intend the hint. -Kyz int maybe_width= StringToInt(asMatches[0]); int maybe_height= StringToInt(asMatches[1]); - if(maybe_width <= 0 || maybe_height <= 0 || maybe_width > iWidth || maybe_height > iHeight) + if(maybe_width <= 0 || maybe_height <= 0) { return; }