Add !finalize %1 fix to changelog and shut up MinGW

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6376 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-06-08 19:10:42 +00:00
parent 47e481a3bf
commit e6f549adee
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,8 @@ Released on ?, 2013
\S2{} Minor Changes
\b Fixed !finalize %1
\b Fixed !searchparse
\b Minor MakeNSISW fixes and tweaks

View file

@ -2954,7 +2954,7 @@ int CEXEBuild::write_output(void)
ERROR_MSG(_T("Error: can't allocate memory for finalize command\n"));
return PS_ERROR;
}
*((UINT_PTR*)&arg) -= (UINT_PTR)cmdstr, *((UINT_PTR*)&arg) += (UINT_PTR)cmdstrbuf;
*((unsigned char**)&arg) -= (UINT_PTR)cmdstr, *((unsigned char**)&arg) += (UINT_PTR)cmdstrbuf;
_tcscpy(cmdstrbuf,cmdstr);
cmdstr = cmdstrbuf;
memmove(arg+cchbldoutfile, arg+2, (_tcslen(arg+2)+1)*sizeof(TCHAR));