Skip to content

Commit

Permalink
Update SettingsPage-Directories.cpp
Browse files Browse the repository at this point in the history
Fix spacing, title case, capitalization, and add newline
  • Loading branch information
DerekTurtleRoe committed Mar 18, 2021
1 parent c210973 commit e210a00
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ m_InUpdateSettings(false)
m_TextureDefault.Attach(GetDlgItem(IDC_TEXTURE_DEFAULT));
m_TextureSelected.Attach(GetDlgItem(IDC_TEXTURE_OTHER));

//Set Text language for the dialog box
// Set text language for the dialog box
::SetWindowText(m_PluginGroup.m_hWnd, wGS(DIR_PLUGIN).c_str());
::SetWindowText(m_AutoSaveGroup.m_hWnd, wGS(DIR_AUTO_SAVE).c_str());
::SetWindowText(m_InstantSaveGroup.m_hWnd, wGS(DIR_INSTANT_SAVE).c_str());
Expand All @@ -50,8 +50,8 @@ int CALLBACK COptionsDirectoriesPage::SelectDirCallBack(HWND hwnd, DWORD uMsg, D
switch (uMsg)
{
case BFFM_INITIALIZED:
// WParam is TRUE since you are passing a path.
// It would be FALSE if you were passing a pidl.
// WParam is TRUE since you are passing a path
// It would be FALSE if you were passing a PIDL
if (lpData)
{
SendMessage(hwnd, BFFM_SETSELECTION, TRUE, lpData);
Expand Down Expand Up @@ -341,4 +341,4 @@ void COptionsDirectoriesPage::ResetPage()
ResetDefaultSelected(m_TextureDefault, m_TextureSelected, Directory_TextureUseSelected);

SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0);
}
}

0 comments on commit e210a00

Please sign in to comment.