- fix an obvious bug (introduced by me)

See issue #3064 for more details.

svn path=/trunk/; revision=34936
This commit is contained in:
Johannes Anderwald 2008-07-29 18:54:28 +00:00
parent 6d82180d7a
commit 1fa91ed658

View file

@ -700,8 +700,6 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf (IShellFolder2 *iface,
&dwVolumeSerialNumber,
&dwMaximumComponentLength, &dwFileSystemFlags, NULL, 0);
pszPath[MAX_PATH-1] = L'\0';
pszPath[0] = L'\0';
if (!wcslen(pszPath))
{
UINT DriveType, ResourceId;