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:
Tobias Doerffel
2008-07-12 16:37:41 +00:00
parent aca885069f
commit 0f89d164dc
3 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -193,7 +193,7 @@ bool configManager::loadConfigFile( void )
{
if( !dom_tree.setContent( &cfg_file ) )
{
return( FALSE );
// return( FALSE );
}
cfg_file.close();
}

View File

@@ -309,6 +309,7 @@ int main( int argc, char * * argv )
if( !configManager::inst()->loadConfigFile() )
{
printf( "could not load config file!\n" );
return( EXIT_FAILURE );
}