fix bugs 1264240, 1264247, 1264239, 1264233 (clang report errors)

This commit is contained in:
jean-pierre charras
2013-12-29 16:12:27 +01:00
parent 7e884e1eb1
commit 7ec2c004a2
4 changed files with 14 additions and 12 deletions
+2 -1
View File
@@ -221,7 +221,8 @@ void EDA_BASE_FRAME::LoadSettings()
// Once this is fully implemented, wxAuiManager will be used to maintain the persistance of
// the main frame and all it's managed windows and all of the legacy frame persistence
// position code can be removed.
config->Read( m_FrameName + entryPerspective, &m_perspective );
if( config )
config->Read( m_FrameName + entryPerspective, &m_perspective );
}