mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:02:07 +00:00
[MSTSC] Enable taking settings folder using SHGetFolderLocation instead of using "c:\". Patch by Stas'M. Thanks CORE-13225
svn path=/trunk/; revision=74561
This commit is contained in:
parent
450b66d358
commit
f5c285da13
1 changed files with 0 additions and 10 deletions
|
@ -374,7 +374,6 @@ SaveRdpSettingsToFile(LPWSTR lpFile,
|
|||
/* use default file */
|
||||
if (lpFile == NULL)
|
||||
{
|
||||
#ifndef __REACTOS__
|
||||
HRESULT hr;
|
||||
LPITEMIDLIST lpidl= NULL;
|
||||
|
||||
|
@ -392,10 +391,6 @@ SaveRdpSettingsToFile(LPWSTR lpFile,
|
|||
CoTaskMemFree(lpidl);
|
||||
}
|
||||
}
|
||||
#else
|
||||
wcscpy(pszPath, L"C:\\Default.rdp");
|
||||
lpFile = pszPath;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (lpFile)
|
||||
|
@ -427,7 +422,6 @@ LoadRdpSettingsFromFile(PRDPSETTINGS pRdpSettings,
|
|||
/* use default file */
|
||||
if (lpFile == NULL)
|
||||
{
|
||||
#ifndef __REACTOS__ // remove when this is working
|
||||
HRESULT hr;
|
||||
LPITEMIDLIST lpidl= NULL;
|
||||
|
||||
|
@ -445,10 +439,6 @@ LoadRdpSettingsFromFile(PRDPSETTINGS pRdpSettings,
|
|||
CoTaskMemFree(lpidl);
|
||||
}
|
||||
}
|
||||
#else
|
||||
wcscpy(pszPath, L"C:\\Default.rdp");
|
||||
lpFile = pszPath;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (lpFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue