mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Do filename postprocessing in GetDisplayNameOf (Hide filename
extensions if appropriate).
This commit is contained in:
parent
43466542a6
commit
6b7778f36b
@ -817,6 +817,12 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_GetDisplayNameOf(IShellFolder2* i
|
||||
strcpy(lpName->u.cStr, pszFileName ? pszFileName : "");
|
||||
}
|
||||
|
||||
/* If in dos mode, do some post-processing on the path.
|
||||
* (e.g. remove filename extension, if uFlags & SHGDN_FOREDITING)
|
||||
*/
|
||||
if (SUCCEEDED(hr) && This->m_dwPathMode == PATHMODE_DOS)
|
||||
SHELL_FS_ProcessDisplayFilename(lpName->u.cStr, uFlags);
|
||||
|
||||
TRACE("--> %s\n", lpName->u.cStr);
|
||||
|
||||
return hr;
|
||||
|
Loading…
Reference in New Issue
Block a user