Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-04-07 12:52:06 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-04-07 12:52:06 +0400
commitcc963f3afe1305e5a82f57a3b47b9b3e24e77cd4 (patch)
treeb18e5a3448cd75362d49f7a8f1960e0b5784263d /src
parentfa23a3d26728b681d99e976f34377fe70a4f59cc (diff)
typos
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4277 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src')
-rw-r--r--src/apps/mplayerc/OpenDirHelper.cpp12
-rw-r--r--src/apps/mplayerc/PPagePlayer.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/apps/mplayerc/OpenDirHelper.cpp b/src/apps/mplayerc/OpenDirHelper.cpp
index 5fb196ac4..5448fc59d 100644
--- a/src/apps/mplayerc/OpenDirHelper.cpp
+++ b/src/apps/mplayerc/OpenDirHelper.cpp
@@ -43,11 +43,11 @@ void COpenDirHelper::SetFont(HWND hwnd,LPTSTR FontName,int FontSize)
hf=CreateFontIndirect(&lf);
SetBkMode(hdc,OPAQUE);
- hfOld = (HFONT)SendMessage(hwnd,WM_GETFONT,NULL,NULL); //get old font
- SendMessage(hwnd,WM_SETFONT,(WPARAM)hf,TRUE); // set new font
+ hfOld = (HFONT)SendMessage(hwnd,WM_GETFONT,NULL,NULL); // get old font
+ SendMessage(hwnd,WM_SETFONT,(WPARAM)hf,TRUE); // set new font
if (!hfOld && (hfOld!=hf)) {
- DeleteObject(hfOld); //if the old font is not system font or the same as newfont, release it.
+ DeleteObject(hfOld); // if the old font is not system font or the same as newfont, release it.
}
ReleaseDC(hwnd,hdc);
@@ -70,7 +70,7 @@ int __stdcall COpenDirHelper::BrowseCallbackProcDIR(HWND hwnd,UINT uMsg,LPARAM
{
HWND checkbox;
- //Initialization callback message
+ // Initialization callback message
if (uMsg == BFFM_INITIALIZED) {
SendMessage(hwnd, BFFM_SETSELECTION, TRUE, (LPARAM)(LPCTSTR)strLastOpenDir);
@@ -80,8 +80,8 @@ int __stdcall COpenDirHelper::BrowseCallbackProcDIR(HWND hwnd,UINT uMsg,LPARAM
RECT ButtonRect;
checkbox = CreateWindowEx(0, _T("BUTTON"), ResStr(IDS_MAINFRM_DIR_CHECK),
- WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | BS_AUTOCHECKBOX | BS_MULTILINE, 0, 100, 100,
- 50, hwnd, 0, AfxGetApp()->m_hInstance, NULL);
+ WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | BS_AUTOCHECKBOX | BS_MULTILINE,
+ 0, 100, 100, 50, hwnd, 0, AfxGetApp()->m_hInstance, NULL);
HWND ListView=FindWindowEx(hwnd,NULL,_T("SysTreeView32"),NULL);
diff --git a/src/apps/mplayerc/PPagePlayer.cpp b/src/apps/mplayerc/PPagePlayer.cpp
index 9e86be926..707a23304 100644
--- a/src/apps/mplayerc/PPagePlayer.cpp
+++ b/src/apps/mplayerc/PPagePlayer.cpp
@@ -153,7 +153,7 @@ BOOL CPPagePlayer::OnApply()
s.MRUDub.WriteList();
}
- // Check if the settings location need to be changed
+ // Check if the settings location needs to be changed
if (AfxGetMyApp()->IsIniValid() != !!m_fUseIni) {
AfxGetMyApp()->ChangeSettingsLocation(!!m_fUseIni);
}