mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-31 17:53:35 -05:00
do not terminate silently if parsing of configuration file failed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1308 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2008-07-12 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/config_mgr.cpp:
|
||||
* src/core/main.cpp:
|
||||
do not terminate silently if parsing of configuration file failed
|
||||
|
||||
* src/gui/automation_editor.cpp:
|
||||
fixed drawing of bars which do not fit within current viewport
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ bool configManager::loadConfigFile( void )
|
||||
{
|
||||
if( !dom_tree.setContent( &cfg_file ) )
|
||||
{
|
||||
return( FALSE );
|
||||
// return( FALSE );
|
||||
}
|
||||
cfg_file.close();
|
||||
}
|
||||
|
||||
@@ -309,6 +309,7 @@ int main( int argc, char * * argv )
|
||||
|
||||
if( !configManager::inst()->loadConfigFile() )
|
||||
{
|
||||
printf( "could not load config file!\n" );
|
||||
return( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user