SetCtlColors /BRANDING wasn't working right, if just one of the background or text color were specified
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3656 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c9aa2a4ffc
commit
b3d872ee65
1 changed files with 2 additions and 2 deletions
|
@ -3791,13 +3791,13 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
{
|
||||
c.flags|=CC_BK|CC_BKB;
|
||||
c.lbStyle=BS_NULL;
|
||||
if (!*line.gettoken_str(a))
|
||||
if (!*line.gettoken_str(a+1))
|
||||
{
|
||||
c.bkc=COLOR_BTNFACE;
|
||||
c.flags|=CC_BK_SYS;
|
||||
}
|
||||
c.flags|=CC_TEXT;
|
||||
if (!*line.gettoken_str(a+1))
|
||||
if (!*line.gettoken_str(a))
|
||||
{
|
||||
c.text=COLOR_BTNFACE;
|
||||
c.flags|=CC_TEXT_SYS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue