mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- fix an obvious bug (introduced by me)
See issue #3064 for more details. svn path=/trunk/; revision=34936
This commit is contained in:
parent
6d82180d7a
commit
1fa91ed658
|
@ -700,8 +700,6 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf (IShellFolder2 *iface,
|
||||||
&dwVolumeSerialNumber,
|
&dwVolumeSerialNumber,
|
||||||
&dwMaximumComponentLength, &dwFileSystemFlags, NULL, 0);
|
&dwMaximumComponentLength, &dwFileSystemFlags, NULL, 0);
|
||||||
pszPath[MAX_PATH-1] = L'\0';
|
pszPath[MAX_PATH-1] = L'\0';
|
||||||
pszPath[0] = L'\0';
|
|
||||||
|
|
||||||
if (!wcslen(pszPath))
|
if (!wcslen(pszPath))
|
||||||
{
|
{
|
||||||
UINT DriveType, ResourceId;
|
UINT DriveType, ResourceId;
|
||||||
|
|
Loading…
Reference in a new issue