fix 2 compil issues
This commit is contained in:
parent
795e45836d
commit
94a358c592
|
@ -434,7 +434,7 @@ bool FILENAME_RESOLVER::addPath( const SEARCH_PATH& aPath )
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
while( tpath.m_Pathvar.EndsWith( wxT( "\\" ) ) )
|
while( tpath.m_Pathvar.EndsWith( wxT( "\\" ) ) )
|
||||||
tpath.m_pathvar.erase( tpath.m_Pathvar.length() - 1 );
|
tpath.m_Pathvar.erase( tpath.m_Pathvar.length() - 1 );
|
||||||
#else
|
#else
|
||||||
while( tpath.m_Pathvar.EndsWith( wxT( "/" ) ) && tpath.m_Pathvar.length() > 1 )
|
while( tpath.m_Pathvar.EndsWith( wxT( "/" ) ) && tpath.m_Pathvar.length() > 1 )
|
||||||
tpath.m_Pathvar.erase( tpath.m_Pathvar.length() - 1 );
|
tpath.m_Pathvar.erase( tpath.m_Pathvar.length() - 1 );
|
||||||
|
|
|
@ -470,7 +470,7 @@ void CONNECTION_GRAPH::Recalculate( const SCH_SHEET_LIST& aSheetList, bool aUnco
|
||||||
// Pressure relief valve for release builds
|
// Pressure relief valve for release builds
|
||||||
const double max_recalc_time_msecs = 250.;
|
const double max_recalc_time_msecs = 250.;
|
||||||
|
|
||||||
if( m_allowRealTime && ADVANCED_CFG::GetCfg().m_realTimeConnectivity &&
|
if( m_allowRealTime && ADVANCED_CFG::GetCfg().m_RealTimeConnectivity &&
|
||||||
recalc_time.msecs() > max_recalc_time_msecs )
|
recalc_time.msecs() > max_recalc_time_msecs )
|
||||||
{
|
{
|
||||||
m_allowRealTime = false;
|
m_allowRealTime = false;
|
||||||
|
|
Loading…
Reference in New Issue