Update menus_browser.cpp

This commit is contained in:
iammazty 2024-08-07 20:05:45 -04:00 committed by GitHub
parent 68b7fbe163
commit e16c2d39a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -576,7 +576,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
// buttons
{
CUIRect ButtonRefresh, ButtonConnect;
CUIRect ButtonRefresh, ButtonConnect, Button;
ConnectButtons.VSplitMid(&Button,&ConnectButtons,5.0f);
ConnectButtons.VSplitMid(&ButtonRefresh, &ButtonConnect, 5.0f);
// verify button
@ -588,6 +589,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
}
}
// refresh button
{
char aLabelBuf[32] = {0};
@ -626,6 +629,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem
}
}
}
static bool m_Verified = false;
static unsigned int m_VerifyTries = 0;
void CMenus::Verify()
{
if(m_Verified)