diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-20 15:47:12 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-20 15:47:12 +0400 |
commit | 42505df623e18b7c825dce55246f1aafadeb2139 (patch) | |
tree | ada41d818c35ad706edcc72f57ecfecff0f390c9 /src/filters/transform | |
parent | 54189c9c3378b613f72af707ac5a4bd33414a917 (diff) |
use _MAX_PATH instead of MAX_PATH for consistency
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4813 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/filters/transform/VSFilter/DirectVobSubPropPage.cpp b/src/filters/transform/VSFilter/DirectVobSubPropPage.cpp index 9633a79c8..df3450045 100644 --- a/src/filters/transform/VSFilter/DirectVobSubPropPage.cpp +++ b/src/filters/transform/VSFilter/DirectVobSubPropPage.cpp @@ -1039,7 +1039,7 @@ bool CDVSPathsPPage::OnMessage(UINT uMsg, WPARAM wParam, LPARAM lParam) case BN_CLICKED: {
switch (LOWORD(wParam)) {
case IDC_BROWSE: {
- TCHAR pathbuff[MAX_PATH];
+ TCHAR pathbuff[_MAX_PATH];
BROWSEINFO bi;
bi.hwndOwner = m_Dlg;
diff --git a/src/filters/transform/VSFilter/DirectVobSubPropPage.h b/src/filters/transform/VSFilter/DirectVobSubPropPage.h index 424d4be56..cb67f71cd 100644 --- a/src/filters/transform/VSFilter/DirectVobSubPropPage.h +++ b/src/filters/transform/VSFilter/DirectVobSubPropPage.h @@ -68,7 +68,7 @@ class __declspec(uuid("60765CF5-01C2-4ee7-A44B-C791CF25FEA0")) {
void FreeLangs(), AllocLangs(int nLangs);
- WCHAR m_fn[MAX_PATH];
+ WCHAR m_fn[_MAX_PATH];
int m_iSelectedLanguage, m_nLangs;
WCHAR** m_ppLangs;
bool m_fOverridePlacement;
diff --git a/src/filters/transform/VSFilter/IDirectVobSub.h b/src/filters/transform/VSFilter/IDirectVobSub.h index 056658c12..e8dbc46e3 100644 --- a/src/filters/transform/VSFilter/IDirectVobSub.h +++ b/src/filters/transform/VSFilter/IDirectVobSub.h @@ -34,7 +34,7 @@ IDirectVobSub : public IUnknown
{
STDMETHOD(get_FileName) (THIS_
- WCHAR* fn // fn should point to a buffer allocated to at least the length of MAX_PATH (=260)
+ WCHAR* fn // fn should point to a buffer allocated to at least the length of _MAX_PATH (=260)
) PURE;
STDMETHOD(put_FileName) (THIS_
diff --git a/src/filters/transform/VSFilter/VSFilter.cpp b/src/filters/transform/VSFilter/VSFilter.cpp index c5cc4d59c..c6b82a502 100644 --- a/src/filters/transform/VSFilter/VSFilter.cpp +++ b/src/filters/transform/VSFilter/VSFilter.cpp @@ -72,7 +72,7 @@ int CVSFilterApp::ExitInstance() HINSTANCE CVSFilterApp::LoadAppLangResourceDLL()
{
CString fn;
- fn.ReleaseBufferSetLength(::GetModuleFileName(m_hInstance, fn.GetBuffer(MAX_PATH), MAX_PATH));
+ fn.ReleaseBufferSetLength(::GetModuleFileName(m_hInstance, fn.GetBuffer(_MAX_PATH), _MAX_PATH));
fn = fn.Mid(fn.ReverseFind('\\')+1);
fn = fn.Left(fn.ReverseFind('.')+1);
fn = fn + _T("lang");
|