Fix typo that introduces a bug

This commit is contained in:
barton26 2021-10-01 02:15:52 -04:00
parent 7d881cb88c
commit 5d0f69f063
1 changed files with 1 additions and 1 deletions

View File

@ -1325,7 +1325,7 @@ int CMainDocument::CachedProjectStatusUpdate(bool bForce) {
if (! IsConnected()) return -1;
#if USE_CACHE_TIMEOUTS
wxTimeSpan ts(wxDateTime::Now() - m_dtProjecStatusTimestamp);
wxTimeSpan ts(wxDateTime::Now() - m_dtProjectsStatusTimestamp);
if (ts.GetSeconds() >= (2 * PROJECTSTATUSRPC_INTERVAL)) bForce = true;
#endif
if (m_dtProjectsStatusTimestamp.IsEqualTo(wxDateTime((time_t)0))) bForce = true;