Update SettingsPage-GameBrowser.cpp

Fix spacing, title case, capitalization, and add newline
This commit is contained in:
Derek "Turtle" Roe 2021-03-17 21:11:33 -05:00
parent a20316cf2b
commit daa5c3589b
1 changed files with 7 additions and 7 deletions

View File

@ -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);