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:
@@ -1,5 +1,8 @@
|
||||
2008-10-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/mmp.cpp:
|
||||
fixed extension for presets
|
||||
|
||||
* plugins/ladspa_effect/ladspa_effect.cpp:
|
||||
* include/automatable_model.h:
|
||||
* include/automation_pattern.h:
|
||||
|
||||
@@ -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: ;
|
||||
|
||||
Reference in New Issue
Block a user