mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
[ATL] atlpath.h: This looked like a bug.
svn path=/trunk/; revision=72805
This commit is contained in:
@@ -181,10 +181,11 @@ public:
|
||||
|
||||
BOOL CompactPathEx(UINT nMaxChars, DWORD dwFlags = 0)
|
||||
{
|
||||
StringType result;
|
||||
PXSTR str = result.GetBuffer(nMaxChars);
|
||||
PathCompactPathExX(str, m_strPath, nMaxChars, dwFlags);
|
||||
result.ReleaseBuffer();
|
||||
StringType strTemp;
|
||||
PXSTR str = strTemp.GetBuffer(nMaxChars);
|
||||
BOOL result = PathCompactPathExX(str, m_strPath, nMaxChars, dwFlags);
|
||||
strTemp.ReleaseBuffer();
|
||||
m_strPath = strTemp;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user