diff options
author | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-03-06 02:13:09 +0300 |
---|---|---|
committer | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-03-06 02:13:09 +0300 |
commit | 2eecc28c1541b2a7091498a6e8368bf63752a600 (patch) | |
tree | a75ab44676413538e80283bdc9378b8673e5f35f /src/apps/mplayerc/PPageWebServer.cpp | |
parent | c5de176f702251deb1cdf8c2fac103d68ecee3ad (diff) |
Fix potential crash by using _MAX_DRIVE (thanks aggro). Also changed all MAX_PATH to _MAX_PATH for consistency across all files
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1732 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageWebServer.cpp')
-rw-r--r-- | src/apps/mplayerc/PPageWebServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PPageWebServer.cpp b/src/apps/mplayerc/PPageWebServer.cpp index 316989802..75db49fd8 100644 --- a/src/apps/mplayerc/PPageWebServer.cpp +++ b/src/apps/mplayerc/PPageWebServer.cpp @@ -181,7 +181,7 @@ static int __stdcall BrowseCtrlCallback(HWND hwnd, UINT uMsg, LPARAM lParam, LPA bool CPPageWebServer::PickDir(CString& dir)
{
- TCHAR buff[MAX_PATH];
+ TCHAR buff[_MAX_PATH];
BROWSEINFO bi;
bi.hwndOwner = m_hWnd;
|