Fix typo in support window code (#2395)

* Fix typo in support window

* Fix the typo for real
This commit is contained in:
Derek "Turtle" Roe 2023-11-23 06:24:19 -06:00 committed by GitHub
parent ceaa05c317
commit acbb8f85a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ void CProjectSupport::IncrementRunCount()
SaveSupportInfo();
}
bool CProjectSupport::ShowSuppotWindow()
bool CProjectSupport::ShowSupportWindow()
{
time_t now = time(nullptr);
if (m_SupportInfo.LastShown <= now && ((now - m_SupportInfo.LastShown) / 60) < 60)

View File

@ -22,7 +22,7 @@ public:
bool RequestCode(const char * Email);
bool ValidateCode(const char * Code);
void IncrementRunCount();
bool ShowSuppotWindow();
bool ShowSupportWindow();
inline uint32_t RunCount() const
{

View File

@ -34,7 +34,7 @@ void CSupportWindow::Show(HWND hParent, bool Delay)
}
m_Support.IncrementRunCount();
if (m_Support.RunCount() < 7 || !m_Support.ShowSuppotWindow())
if (m_Support.RunCount() < 7 || !m_Support.ShowSupportWindow())
{
return;
}