size optimization - use GetStringFromParm instead of wsprintf

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5191 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-07-06 09:55:20 +00:00
parent 9d8874cd72
commit 05ddf4bfc7
2 changed files with 5 additions and 1 deletions

View file

@ -842,7 +842,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
char *buf0=GetStringFromParm(0x00);
char *buf3=GetStringFromParm(0x31);
char *buf2=GetStringFromParm(0x22);
wsprintf(buf1,"%s %s",buf0,buf3);
char *buf1=GetStringFromParm(0x15);
update_status_text_buf1(LANG_EXECSHELL);
x=(int)ShellExecute(g_hwnd,buf0[0]?buf0:NULL,buf3,buf2[0]?buf2:NULL,state_output_directory,parm3);
if (x < 33)