fixed extension for presets

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1735 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-10-04 20:51:12 +00:00
parent 9b5b9d0468
commit ea55f6ae64
2 changed files with 5 additions and 2 deletions

View File

@@ -199,9 +199,9 @@ QString multimediaProject::nameWithExtension( const QString & _fn ) const
}
break;
case InstrumentTrackSettings:
if( _fn.section( '.', -2, -1 ) != "cs.xml" )
if( _fn.section( '.', -1 ) != "xpf" )
{
return( _fn + ".cs.xml" );
return( _fn + ".xpf" );
}
break;
default: ;