CreateShortcut shortcut key names case insensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3380 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
fb498a2aa8
commit
2f1720123d
1 changed files with 4 additions and 4 deletions
|
@ -3436,10 +3436,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
if (*s)
|
||||
{
|
||||
int c=0;
|
||||
if (strstr(s,"ALT|")) ent.offsets[4]|=HOTKEYF_ALT << 24;
|
||||
if (strstr(s,"CONTROL|")) ent.offsets[4]|=HOTKEYF_CONTROL << 24;
|
||||
if (strstr(s,"EXT|")) ent.offsets[4]|=HOTKEYF_EXT << 24;
|
||||
if (strstr(s,"SHIFT|")) ent.offsets[4]|=HOTKEYF_SHIFT << 24;
|
||||
if (strstri(s,"ALT|")) ent.offsets[4]|=HOTKEYF_ALT << 24;
|
||||
if (strstri(s,"CONTROL|")) ent.offsets[4]|=HOTKEYF_CONTROL << 24;
|
||||
if (strstri(s,"EXT|")) ent.offsets[4]|=HOTKEYF_EXT << 24;
|
||||
if (strstri(s,"SHIFT|")) ent.offsets[4]|=HOTKEYF_SHIFT << 24;
|
||||
while (strstr(s,"|"))
|
||||
{
|
||||
s=strstr(s,"|")+1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue