fixed bug #2796189 - ExecShell doesn't always respect maximized window setting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5970 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b5a55b0073
commit
f3791f9e7d
2 changed files with 3 additions and 3 deletions
|
@ -3888,8 +3888,8 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
ent.offsets[3]=SW_SHOWNORMAL;
|
||||
if (line.getnumtokens() > 4)
|
||||
{
|
||||
int tab[4]={SW_SHOWNORMAL,SW_SHOWMAXIMIZED,SW_SHOWMINIMIZED,SW_HIDE};
|
||||
int a=line.gettoken_enum(4,"SW_SHOWNORMAL\0SW_SHOWMAXIMIZED\0SW_SHOWMINIMIZED\0SW_HIDE\0");
|
||||
int tab[5]={SW_SHOWDEFAULT,SW_SHOWNORMAL,SW_SHOWMAXIMIZED,SW_SHOWMINIMIZED,SW_HIDE};
|
||||
int a=line.gettoken_enum(4,"SW_SHOWDEFAULT\0SW_SHOWNORMAL\0SW_SHOWMAXIMIZED\0SW_SHOWMINIMIZED\0SW_HIDE\0");
|
||||
if (a < 0) PRINTHELP()
|
||||
ent.offsets[3]=tab[a];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue