- Added SS_NOPREFIX for the static control above the install log so both will show the same when an ampersand is present in the string

- Added another parameter for Name. It will be used in places where doubled ampersands are required for text to render as expected. Use it if you have an ampersand in your name. See the updated documentation about the Name command for more information about usage.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3288 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-12-17 23:22:14 +00:00
parent 5f58389c12
commit 672e695976
84 changed files with 1329 additions and 1332 deletions

View file

@ -1361,7 +1361,11 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
{
if (SetInnerString(NLF_NAME,line.gettoken_str(1)) == PS_WARNING)
warning_fl("%s: specified multiple times, wasting space",line.gettoken_str(0));
SCRIPT_MSG("Name: \"%s\"\n",line.gettoken_str(1));
SetInnerString(NLF_NAME_DA,line.gettoken_str(2));
SCRIPT_MSG("Name: \"%s\"",line.gettoken_str(1));
if (*line.gettoken_str(2))
SCRIPT_MSG(" \"%s\"",line.gettoken_str(2));
SCRIPT_MSG("\n");
}
return make_sure_not_in_secorfunc(line.gettoken_str(0));
case TOK_CAPTION: