FindFirst short-name fallback trick not required in Unicode stubs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6406 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
942ea1d465
commit
928f0f78e5
1 changed files with 2 additions and 0 deletions
|
@ -179,9 +179,11 @@ void NSISCALL myDelete(TCHAR *buf, int flags)
|
|||
do
|
||||
{
|
||||
TCHAR *fdfn = fd.cFileName;
|
||||
#ifndef _UNICODE
|
||||
if (*findchar(fdfn, _T('?')) && *fd.cAlternateFileName)
|
||||
// name contains unicode, use short name
|
||||
fdfn = fd.cAlternateFileName;
|
||||
#endif
|
||||
|
||||
#ifdef NSIS_SUPPORT_RMDIR
|
||||
if (fdfn[0] == _T('.') && !fdfn[1]) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue