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:
kichik 2003-10-15 22:53:15 +00:00
parent fb983f4b0d
commit a0fbae34ee

View file

@ -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);