diff --git a/Source/Project64/UserInterface/ProjectSupport.cpp b/Source/Project64/UserInterface/ProjectSupport.cpp index 8c6715c4d..729a84324 100644 --- a/Source/Project64/UserInterface/ProjectSupport.cpp +++ b/Source/Project64/UserInterface/ProjectSupport.cpp @@ -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) diff --git a/Source/Project64/UserInterface/ProjectSupport.h b/Source/Project64/UserInterface/ProjectSupport.h index c51231efa..4914a2cee 100644 --- a/Source/Project64/UserInterface/ProjectSupport.h +++ b/Source/Project64/UserInterface/ProjectSupport.h @@ -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 { diff --git a/Source/Project64/UserInterface/SupportWindow.cpp b/Source/Project64/UserInterface/SupportWindow.cpp index a0020d7fc..c3f436e22 100644 --- a/Source/Project64/UserInterface/SupportWindow.cpp +++ b/Source/Project64/UserInterface/SupportWindow.cpp @@ -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; }