Inverted test of offset[3] for EW_DELREG meant that RegDeleteKey and RegDeleteValue were being swapped.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2036 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
sunjammerx 2003-01-05 15:05:21 +00:00
parent 3aac535b07
commit 6d8dc58dae
2 changed files with 2 additions and 1 deletions

View file

@ -3309,6 +3309,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
case TOK_DELETEREGKEY:
{
int a=1;
ent.offsets[3]=0;
if (which_token==TOK_DELETEREGKEY)
{
ent.offsets[3]=1;