mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix SDK launcher bug
Add missing argument for string format specifier. Fixed additional compiler warnings by casting types/commenting unused.
This commit is contained in:
parent
4cff696133
commit
fee5f7608e
@ -589,7 +589,7 @@ void CSurface::LoadSettings()
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
printf("%s: Exception while parsing VDF file: %s\n", e.what());
|
||||
printf("%s: Exception while parsing VDF file: %s\n", __FUNCTION__, e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@ -661,7 +661,7 @@ void CSurface::OnLoad(Forms::Control* pSender)
|
||||
// Purpose: close callback
|
||||
// Input : *pSender -
|
||||
//-----------------------------------------------------------------------------
|
||||
void CSurface::OnClose(const std::unique_ptr<FormClosingEventArgs>& pEventArgs, Forms::Control* pSender)
|
||||
void CSurface::OnClose(const std::unique_ptr<FormClosingEventArgs>& /*pEventArgs*/, Forms::Control* pSender)
|
||||
{
|
||||
((CSurface*)pSender->FindForm())->SaveSettings();
|
||||
}
|
||||
@ -831,7 +831,7 @@ void CSurface::GetVirtualItem(const std::unique_ptr<Forms::RetrieveVirtualItemEv
|
||||
if (static_cast<int>(pSurface->m_LogList.size()) <= 0)
|
||||
return;
|
||||
|
||||
pEventArgs->Style.ForeColor = Drawing::Color::White;
|
||||
pEventArgs->Style.ForeColor = (Gdiplus::ARGB)Drawing::Color::White;
|
||||
pEventArgs->Style.BackColor = pSender->BackColor();
|
||||
pSurface->m_ConsoleListView->SetVirtualListSize(static_cast<int32_t>(pSurface->m_LogList.size()));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user