diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 7634ddc7eb..3cb9152cf7 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -733,14 +733,6 @@ void MakeValidFilename( CString &sName ) } sName = WStringToRString( wsName ); - if( Basename(sName).size() > 128 ) - { - /* The filename is too long. Truncate it, but leave the extension alone. */ - const RString& sExt = GetExtension( sName ); - sName = SetExtension( sName, "" ); - sName.erase( 128 ); - sName = sName + "." + sExt; - } } int g_argc = 0;