Update ConfigUI.cpp

This commit is contained in:
Frank-74 2017-10-13 02:06:38 +01:00 committed by GitHub
parent e31d4efc8d
commit f44ca6a203
1 changed files with 5 additions and 5 deletions

View File

@ -130,11 +130,11 @@ private:
CButton m_btnFPSBuffer;
void ItemChanged(UINT /*Code*/, int /*id*/, HWND /*ctl*/)
{
SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0);
g_settings->SetTinyBuffer(m_btnTinyBuffer.GetCheck() == BST_CHECKED);
g_settings->SetFPSBuffer(m_btnFPSBuffer.GetCheck() == BST_CHECKED);
}
{
SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0);
g_settings->SetTinyBuffer(m_btnTinyBuffer.GetCheck() == BST_CHECKED);
g_settings->SetFPSBuffer(m_btnFPSBuffer.GetCheck() == BST_CHECKED);
}
};
class CLogSettings :