fixed plug-in system's SetDetailsPrint usage

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5277 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-09-18 22:02:44 +00:00
parent d9d6a9da51
commit 266267ba61
4 changed files with 5 additions and 11 deletions

View file

@ -5709,11 +5709,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
}
// SetDetailsPrint lastused
ent.which=EW_UPDATETEXT;
ent.offsets[0]=0;
ent.offsets[1]=0;
ent.offsets[2]=1; // lastused
ret=add_entry(&ent);
ret=add_entry_direct(EW_SETFLAG, FLAG_OFFSET(status_update), 0, 1);
if (ret != PS_OK) {
return ret;
}
@ -5781,11 +5777,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
ret=add_entry(&ent);
if (ret != PS_OK) return ret;
// SetDetailsPrint lastused
ent.which=EW_UPDATETEXT;
ent.offsets[0]=0;
ent.offsets[1]=0;
ent.offsets[2]=1; // lastused
ret=add_entry(&ent);
ret=add_entry_direct(EW_SETFLAG, FLAG_OFFSET(status_update), 0, 1);
if (ret != PS_OK) return ret;
}
return PS_OK;