Back to 33.5
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2755 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
19a617404c
commit
b10180490d
1 changed files with 2 additions and 1 deletions
|
@ -151,9 +151,10 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam,
|
||||||
{
|
{
|
||||||
// File name need slash before coz temp dir was changed by validate_filename(...)
|
// File name need slash before coz temp dir was changed by validate_filename(...)
|
||||||
static char s[]="\\A~NSISu_.exe";
|
static char s[]="\\A~NSISu_.exe";
|
||||||
static char buf2[NSIS_MAX_STRLEN*2]="\"";
|
static char buf2[NSIS_MAX_STRLEN*2];
|
||||||
static char ibuf[NSIS_MAX_STRLEN];
|
static char ibuf[NSIS_MAX_STRLEN];
|
||||||
|
|
||||||
|
buf2[0]='\"';
|
||||||
mystrcpy(buf2+1,state_temp_dir);
|
mystrcpy(buf2+1,state_temp_dir);
|
||||||
lstrcat(buf2,s);
|
lstrcat(buf2,s);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue