From e210a00430c521bfd51c3e754d36d9f29f2b8bdb Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Wed, 17 Mar 2021 21:07:32 -0500 Subject: [PATCH] Update SettingsPage-Directories.cpp Fix spacing, title case, capitalization, and add newline --- .../UserInterface/Settings/SettingsPage-Directories.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Project64/UserInterface/Settings/SettingsPage-Directories.cpp b/Source/Project64/UserInterface/Settings/SettingsPage-Directories.cpp index f3b77bfbe..2b1051ebc 100644 --- a/Source/Project64/UserInterface/Settings/SettingsPage-Directories.cpp +++ b/Source/Project64/UserInterface/Settings/SettingsPage-Directories.cpp @@ -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()); @@ -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); @@ -341,4 +341,4 @@ void COptionsDirectoriesPage::ResetPage() ResetDefaultSelected(m_TextureDefault, m_TextureSelected, Directory_TextureUseSelected); SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0); -} \ No newline at end of file +}