Fixed running from context menu
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1268 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f2bfa2b4b9
commit
e4e5a03c3c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, char *cmdParam, int cmd
|
|||
HACCEL haccel;
|
||||
g_hInstance=GetModuleHandle(0);
|
||||
g_script=GetCommandLine();
|
||||
if (*g_script=='"') { g_script++; while (*g_script!='"' && *g_script) g_script++; }
|
||||
if (*g_script=='"') { g_script++; while (*g_script && *g_script++!='"' ); }
|
||||
else while (*g_script!=' ' && *g_script) g_script++;
|
||||
while (*g_script==' ') g_script++;
|
||||
if (!InitBranding()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue