size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5127 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cdf33703be
commit
8a8844bcb8
3 changed files with 9 additions and 11 deletions
|
@ -132,14 +132,8 @@ static char * NSISCALL GetStringFromParm(int id_)
|
|||
}
|
||||
|
||||
#ifdef NSIS_SUPPORT_REGISTRYFUNCTIONS
|
||||
REGSAM NSISCALL AlterRegistrySAM(REGSAM sam)
|
||||
{
|
||||
if (g_exec_flags.alter_reg_view)
|
||||
{
|
||||
return sam | KEY_WOW64_64KEY;
|
||||
}
|
||||
return sam;
|
||||
}
|
||||
|
||||
#define AlterRegistrySAM(sam) (sam | g_exec_flags.alter_reg_view)
|
||||
|
||||
// based loosely on code from Tim Kosse
|
||||
// in win9x this isn't necessary (RegDeleteKey() can delete a tree of keys),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue