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:
kichik 2003-07-19 12:29:36 +00:00
parent 19a617404c
commit b10180490d

View file

@ -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(...)
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];
buf2[0]='\"';
mystrcpy(buf2+1,state_temp_dir);
lstrcat(buf2,s);