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
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-12-15 01:26:39 +0300
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-12-15 01:26:39 +0300
commit8547458c402ddd61f0f5e3e91ed07a4fbaa62b2e (patch)
tree2adec2b241b3badb6f71750e929bfbafff9e8747
parentf379f69a0a7fb019342530af026f498cf46dcac8 (diff)
fix a few typos
Patch by thevbm git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2773 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r--src/apps/mplayerc/AppSettings.h2
-rw-r--r--src/apps/mplayerc/ISDb.cpp2
-rw-r--r--src/apps/mplayerc/MainFrm.cpp26
-rw-r--r--src/apps/mplayerc/OpenCapDeviceDlg.cpp2
-rw-r--r--src/apps/mplayerc/OpenFileDlg.cpp2
-rw-r--r--src/apps/mplayerc/PPageCapture.cpp6
-rw-r--r--src/apps/mplayerc/PlayerCaptureDialog.cpp2
-rw-r--r--src/apps/mplayerc/PlayerListCtrl.cpp8
-rw-r--r--src/apps/mplayerc/RealMediaWindowlessSite.cpp2
-rw-r--r--src/apps/mplayerc/StaticLink.cpp4
-rw-r--r--src/apps/mplayerc/mplayerc.cpp2
11 files changed, 29 insertions, 29 deletions
diff --git a/src/apps/mplayerc/AppSettings.h b/src/apps/mplayerc/AppSettings.h
index 4b214fc0d..63ea68d6d 100644
--- a/src/apps/mplayerc/AppSettings.h
+++ b/src/apps/mplayerc/AppSettings.h
@@ -100,7 +100,7 @@ enum
VIDRNDT_DS_SYNC
};
-// Enumeration for MCE remotecontrol (careful : add 0x010000 for all keys!)
+// Enumeration for MCE remote control (careful : add 0x010000 for all keys!)
enum MCE_RAW_INPUT
{
MCE_DETAILS = 0x010209,
diff --git a/src/apps/mplayerc/ISDb.cpp b/src/apps/mplayerc/ISDb.cpp
index b5111dc9d..93083cfb8 100644
--- a/src/apps/mplayerc/ISDb.cpp
+++ b/src/apps/mplayerc/ISDb.cpp
@@ -101,7 +101,7 @@ bool OpenUrl(CInternetSession& is, CString url, CStringA& str)
char buff[1024];
for(int len; (len = f->Read(buff, sizeof(buff))) > 0; str += CStringA(buff, len));
- f->Close(); // must close it because the desctructor doesn't seem to do it and we will get an exception when "is" is destroying
+ f->Close(); // must close it because the destructor doesn't seem to do it and we will get an exception when "is" is destroying
}
catch(CInternetException* ie)
{
diff --git a/src/apps/mplayerc/MainFrm.cpp b/src/apps/mplayerc/MainFrm.cpp
index 65976ca83..9a3fea77e 100644
--- a/src/apps/mplayerc/MainFrm.cpp
+++ b/src/apps/mplayerc/MainFrm.cpp
@@ -137,7 +137,7 @@ public:
\
if(__fs != State_Stopped) \
SendMessage(WM_COMMAND, ID_PLAY_STOP); \
-
+
#define RestoreMediaState \
if(m_iMediaLoadState == MLS_LOADED) \
@@ -151,7 +151,7 @@ public:
else if(__fs == State_Running) \
SendMessage(WM_COMMAND, ID_PLAY_PLAY); \
} \
-
+
using namespace DSObjects;
/////////////////////////////////////////////////////////////////////////////
@@ -2005,7 +2005,7 @@ void CMainFrame::OnTimer(UINT_PTR nIDEvent)
SetupChapters();
}
- if(GetPlaybackMode() == PM_DVD) // we also use this timer to update the info panel for dvd playback
+ if(GetPlaybackMode() == PM_DVD) // we also use this timer to update the info panel for DVD playback
{
ULONG ulAvailable, ulCurrent;
@@ -4679,7 +4679,7 @@ bool CMainFrame::GetDIB(BYTE** ppData, long& size, bool fSilent)
if(FAILED(hr))
{
OnPlayPause();
- GetMediaState(); // Pause and retry to support ffdshow queueing.
+ GetMediaState(); // Pause and retry to support ffdshow queuing.
int retry = 0;
while(FAILED(hr) && retry < 20)
{
@@ -7186,7 +7186,7 @@ void CMainFrame::OnPlayPauseI()
void CMainFrame::OnPlayPause()
{
- // Support ffdshow queueing.
+ // Support ffdshow queuing.
// To avoid black out on pause, we have to lock g_ffdshowReceive to synchronize with ReceiveMine.
if(queue_ffdshow_support)
{
@@ -9097,10 +9097,10 @@ void CMainFrame::OnFavoritesFile(UINT nID)
}
// NOTE: This is just for the favorites but we could add a global settings that does this always when on. Could be useful when using removable devices.
- // All you have to do then is plug in your 500 gb drive, full with movies and/or music, start mpc-hc (from the 500 gb drive) with a preloaded playlist and press play.
+ // All you have to do then is plug in your 500 gb drive, full with movies and/or music, start MPC-HC (from the 500 gb drive) with a preloaded playlist and press play.
if ( bRelativeDrive )
{
- // Get the drive mpc-hc is on and apply it to the path list
+ // Get the drive MPC-HC is on and apply it to the path list
CString exePath;
DWORD dwLength = GetModuleFileName( AfxGetInstanceHandle(), exePath.GetBuffer(_MAX_PATH), _MAX_PATH );
exePath.ReleaseBuffer( dwLength );
@@ -14386,7 +14386,7 @@ bool CMainFrame::CreateFullScreenWindow()
if (GetMonitorInfo (hMonitor, &MonitorInfo))
{
MonitorRect = CRect (MonitorInfo.rcMonitor);
- // Creation de la fenetre
+ // Window creation
DWORD dwStyle = WS_POPUP | WS_VISIBLE ;
m_fullWndSize.cx = MonitorRect.Width();
m_fullWndSize.cy = MonitorRect.Height();
@@ -14607,13 +14607,13 @@ void CMainFrame::ProcessAPICommand(COPYDATASTRUCT* pCDS)
rtPos = HMSF2RT(tcPos);
// imianz: quick and dirty trick
// Pause->SeekTo->Play (in place of SeekTo only) seems to prevents in most cases
- // some strange video effects on avi files (ex. locks a while and than runnig fast).
+ // some strange video effects on avi files (ex. locks a while and than running fast).
if(!m_fAudioOnly)SendMessage(WM_COMMAND, ID_PLAY_PAUSE);
SeekTo(rtPos);
if(!m_fAudioOnly)
{
SendMessage(WM_COMMAND, ID_PLAY_PLAY);
- // show current position overrided by play command
+ // show current position overridden by play command
m_OSD.DisplayMessage(OSD_TOPLEFT, m_wndStatusBar.GetStatusTimer(), 2000);
}
break;
@@ -14950,13 +14950,13 @@ void CMainFrame::JumpOfNSeconds(int nSeconds)
// quick and dirty trick:
// pause->seekto->play seems to prevents some strange
- // video effect (ex. locks for a while and than runnig fast)
+ // video effect (ex. locks for a while and than running fast)
if(!m_fAudioOnly)SendMessage(WM_COMMAND, ID_PLAY_PAUSE);
SeekTo(rtCur);
if(!m_fAudioOnly)
{
SendMessage(WM_COMMAND, ID_PLAY_PLAY);
- // show current position overrided by play command
+ // show current position overridden by play command
m_OSD.DisplayMessage(OSD_TOPLEFT, m_wndStatusBar.GetStatusTimer(), 2000);
}
}
@@ -15443,7 +15443,7 @@ UINT CMainFrame::OnPowerBroadcast(UINT nPowerEvent, UINT nEventData)
case PBT_APMRESUMEAUTOMATIC: // Operation is resuming automatically from a low-power state. This message is sent every time the system resumes.
TRACE("OnPowerBroadcast - resuming\n"); // For user tracking
- // Resume if we paused before suspention.
+ // Resume if we paused before suspension.
if ( bWasPausedBeforeSuspention )
SendMessage( WM_COMMAND, ID_PLAY_PLAY ); // Resume
break;
diff --git a/src/apps/mplayerc/OpenCapDeviceDlg.cpp b/src/apps/mplayerc/OpenCapDeviceDlg.cpp
index bf2332bdb..f068fc4bf 100644
--- a/src/apps/mplayerc/OpenCapDeviceDlg.cpp
+++ b/src/apps/mplayerc/OpenCapDeviceDlg.cpp
@@ -144,7 +144,7 @@ static struct cc_t
{245, AnalogVideo_NTSC_M, _T("Guinea-Bissau")},
{246, AnalogVideo_NTSC_M, _T("Diego Garcia")},
{247, AnalogVideo_NTSC_M, _T("Ascension Island")},
- {248, AnalogVideo_PAL_B, _T("Seychelle Islands")},
+ {248, AnalogVideo_PAL_B, _T("Seychelles Islands")},
{249, AnalogVideo_PAL_B, _T("Sudan")},
{250, AnalogVideo_PAL_B, _T("Rwanda")},
{251, AnalogVideo_PAL_B, _T("Ethiopia")},
diff --git a/src/apps/mplayerc/OpenFileDlg.cpp b/src/apps/mplayerc/OpenFileDlg.cpp
index 747686ae2..2d0247995 100644
--- a/src/apps/mplayerc/OpenFileDlg.cpp
+++ b/src/apps/mplayerc/OpenFileDlg.cpp
@@ -68,7 +68,7 @@ LRESULT CALLBACK COpenFileDlg::WindowProcNew(HWND hwnd, UINT message, WPARAM wPa
{
CAutoVectorPtr<TCHAR> path;
path.Allocate(_MAX_PATH+1); // _MAX_PATH should be bigger for multiple selection, but we are only interested if it's zero length
- // note: allocating _MAX_PATH only will cause a buffer overrun for too long strings, and will result in a silent app disappearing crash, 100% reproducable
+ // note: allocating _MAX_PATH only will cause a buffer overrun for too long strings, and will result in a silent app disappearing crash, 100% reproducible
if(::GetDlgItemText(hwnd, cmb13, (TCHAR*)path, _MAX_PATH) == 0)
::SendMessage(hwnd, CDM_SETCONTROLTEXT, edt1, (LPARAM)__DUMMY__);
}
diff --git a/src/apps/mplayerc/PPageCapture.cpp b/src/apps/mplayerc/PPageCapture.cpp
index b7abda347..49feaa013 100644
--- a/src/apps/mplayerc/PPageCapture.cpp
+++ b/src/apps/mplayerc/PPageCapture.cpp
@@ -124,7 +124,7 @@ static struct cc_t
{245, AnalogVideo_NTSC_M, _T("Guinea-Bissau")},
{246, AnalogVideo_NTSC_M, _T("Diego Garcia")},
{247, AnalogVideo_NTSC_M, _T("Ascension Island")},
- {248, AnalogVideo_PAL_B, _T("Seychelle Islands")},
+ {248, AnalogVideo_PAL_B, _T("Seychelles Islands")},
{249, AnalogVideo_PAL_B, _T("Sudan")},
{250, AnalogVideo_PAL_B, _T("Rwanda")},
{251, AnalogVideo_PAL_B, _T("Ethiopia")},
@@ -311,7 +311,7 @@ void CPPageCapture::FindAnalogDevices()
AppSettings& s = AfxGetAppSettings();
int iSel = 0;
- // List video deviced
+ // List video devised
BeginEnumSysDev(CLSID_VideoInputDeviceCategory, pMoniker)
{
CComPtr<IPropertyBag> pPB;
@@ -342,7 +342,7 @@ void CPPageCapture::FindAnalogDevices()
m_cbAnalogVideo.SetCurSel(iSel);
}
- // List audio deviced
+ // List audio devised
iSel = 0;
BeginEnumSysDev(CLSID_AudioInputDeviceCategory, pMoniker)
{
diff --git a/src/apps/mplayerc/PlayerCaptureDialog.cpp b/src/apps/mplayerc/PlayerCaptureDialog.cpp
index 09a1c27f6..1082cc71e 100644
--- a/src/apps/mplayerc/PlayerCaptureDialog.cpp
+++ b/src/apps/mplayerc/PlayerCaptureDialog.cpp
@@ -767,7 +767,7 @@ void CPlayerCaptureDialog::UpdateUserDefinableControls()
UNUSED_ALWAYS(h);
m_vidhor.SetRange((short)pvfe->caps.MinOutputSize.cx, (short)pvfe->caps.MaxOutputSize.cx);
- /* if(bih->biCompression == mmioFOURCC('Y','U','Y','2')) // FIXME: bt8x8 drivers seem to crop the right side in yuv2 mode if the width is not divisable by 64
+ /* if(bih->biCompression == mmioFOURCC('Y','U','Y','2')) // FIXME: bt8x8 drivers seem to crop the right side in yuv2 mode if the width is not dividable by 64
pvfe->caps.OutputGranularityX = 64;
*/
ua[0].nInc = pvfe->caps.OutputGranularityX;
diff --git a/src/apps/mplayerc/PlayerListCtrl.cpp b/src/apps/mplayerc/PlayerListCtrl.cpp
index b81e2dad5..6e93c2d38 100644
--- a/src/apps/mplayerc/PlayerListCtrl.cpp
+++ b/src/apps/mplayerc/PlayerListCtrl.cpp
@@ -431,8 +431,8 @@ CImageList* CPlayerListCtrl::CreateDragImageEx(LPPOINT lpPoint)
int nIndex = GetTopIndex() - 1;
int nBottomIndex = GetBottomIndex();
- // Determine the size of the drag image (limite for
- // rows visibled and Client width)
+ // Determine the size of the drag image (limited for
+ // rows visible and Client width)
while((nIndex = GetNextItem(nIndex, LVNI_SELECTED)) != -1 && nIndex <= nBottomIndex)
{
GetItemRect(nIndex, cSingleRect, LVIR_BOUNDS);
@@ -488,7 +488,7 @@ CImageList* CPlayerListCtrl::CreateDragImageEx(LPPOINT lpPoint)
cMemDC.SelectObject(pOldMemDCBitmap);
//
- // Create the imagelist with the merged drag images
+ // Create the image list with the merged drag images
//
CImageList* pCompleteImageList = DNew CImageList;
@@ -501,7 +501,7 @@ CImageList* CPlayerListCtrl::CreateDragImageEx(LPPOINT lpPoint)
//
// as an optional service:
- // Find the offset of the current mouse cursor to the imagelist
+ // Find the offset of the current mouse cursor to the image list
// this we can use in BeginDrag()
//
if(lpPoint)
diff --git a/src/apps/mplayerc/RealMediaWindowlessSite.cpp b/src/apps/mplayerc/RealMediaWindowlessSite.cpp
index f3371214f..8950253d6 100644
--- a/src/apps/mplayerc/RealMediaWindowlessSite.cpp
+++ b/src/apps/mplayerc/RealMediaWindowlessSite.cpp
@@ -481,7 +481,7 @@ STDMETHODIMP CRealMediaWindowlessSite::DamageRegion(PNxRegion region)
STDMETHODIMP CRealMediaWindowlessSite::ForceRedraw()
{
- // make sure we have a visible window and are not re-enterering and we have damage
+ // make sure we have a visible window and are not re-entering and we have damage
if(!m_fInRedraw && m_fDamaged && m_fIsVisible)
{
m_fInRedraw = TRUE;
diff --git a/src/apps/mplayerc/StaticLink.cpp b/src/apps/mplayerc/StaticLink.cpp
index 46a8f697a..5601ce9bc 100644
--- a/src/apps/mplayerc/StaticLink.cpp
+++ b/src/apps/mplayerc/StaticLink.cpp
@@ -165,11 +165,11 @@ BOOL CStaticLink::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
}
//////////////////
-// Normally, a control class is not destoyed when the window is;
+// Normally, a control class is not destroyed when the window is;
// however, CPixieDlg creates static controls with "new" instead of
// as class members, so it's convenient to allow the option of destroying
// object with window. In applications where you want the object to be
-// destoyed along with the window, you can call constructor with
+// destroyed along with the window, you can call constructor with
// bDeleteOnDestroy=TRUE.
//
void CStaticLink::PostNcDestroy()
diff --git a/src/apps/mplayerc/mplayerc.cpp b/src/apps/mplayerc/mplayerc.cpp
index 381e20f4b..5d1539688 100644
--- a/src/apps/mplayerc/mplayerc.cpp
+++ b/src/apps/mplayerc/mplayerc.cpp
@@ -2081,7 +2081,7 @@ HRESULT CMPlayerCApp::GetElevationType(TOKEN_ELEVATION_TYPE* ptet )
ASSERT( IsVistaOrAbove() );
ASSERT( ptet );
- HRESULT hResult = E_FAIL; // assume an error occured
+ HRESULT hResult = E_FAIL; // assume an error occurred
HANDLE hToken = NULL;
if ( !::OpenProcessToken(