Fixed bug #821933 - InstallDirRegKey .exe comparation is case-sensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3020 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
fb983f4b0d
commit
a0fbae34ee
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ int NSISCALL ui_doinstall(void)
|
|||
if (e > p)
|
||||
{
|
||||
// if filename ends in .exe, and is not a directory, remove the filename
|
||||
if (*(int*)e == CHAR4_TO_DWORD('.', 'e', 'x', 'e')) // check extension
|
||||
if (!lstrcmpi(e, ".exe")) // check extension
|
||||
{
|
||||
DWORD d;
|
||||
d=GetFileAttributes(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue