Update SettingsPage-GameBrowser.cpp
Fix spacing, title case, capitalization, and add newline
This commit is contained in:
parent
a20316cf2b
commit
daa5c3589b
|
@ -93,16 +93,16 @@ void COptionsGameBrowserPage::AddFieldClicked(UINT /*Code*/, int /*id*/, HWND /*
|
|||
{
|
||||
return;
|
||||
}
|
||||
//remove from list
|
||||
// Remove from list
|
||||
int i = m_Avaliable.GetItemData(index);
|
||||
m_Avaliable.DeleteString(index);
|
||||
|
||||
//select next in list
|
||||
// Select next in list
|
||||
int listCount = m_Avaliable.GetCount();
|
||||
if (index >= listCount) { index -= 1; }
|
||||
m_Avaliable.SetCurSel(index);
|
||||
|
||||
//Add to list
|
||||
// Add to list
|
||||
index = m_Using.AddString(wGS(m_Fields[i].LangID()).c_str());
|
||||
m_Using.SetItemData(index, i);
|
||||
m_Using.SetCurSel(index);
|
||||
|
@ -119,16 +119,16 @@ void COptionsGameBrowserPage::RemoveFieldClicked(UINT /*Code*/, int /*id*/, HWND
|
|||
{
|
||||
return;
|
||||
}
|
||||
//remove from list
|
||||
// Remove from list
|
||||
int i = m_Using.GetItemData(index);
|
||||
m_Using.DeleteString(index);
|
||||
|
||||
//select next in list
|
||||
// Select next in list
|
||||
int listCount = m_Using.GetCount();
|
||||
if (index >= listCount) { index -= 1; }
|
||||
m_Using.SetCurSel(index);
|
||||
|
||||
//Add to list
|
||||
// Add to list
|
||||
index = m_Avaliable.AddString(wGS(m_Fields[i].LangID()).c_str());
|
||||
m_Avaliable.SetItemData(index, i);
|
||||
m_Avaliable.SetCurSel(index);
|
||||
|
@ -246,4 +246,4 @@ void COptionsGameBrowserPage::ResetPage()
|
|||
SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0);
|
||||
}
|
||||
CSettingsPageImpl<COptionsGameBrowserPage>::ResetPage();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue