From 2f1720123d5d793473fb27f76474871a4764c048 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Fri, 9 Jan 2004 23:08:57 +0000 Subject: [PATCH] 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 --- Source/script.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/script.cpp b/Source/script.cpp index 445d796e..ea32bb0c 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -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;