diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/apps/mplayerc/OpenDirHelper.cpp | 12 | ||||
-rw-r--r-- | src/apps/mplayerc/PPagePlayer.cpp | 2 |
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);
}
|