size optimization: added __stdcall wrapper for lstrcat

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-08-06 12:47:46 +00:00
parent 908c776f9c
commit f5105a50b1
5 changed files with 29 additions and 23 deletions

View file

@ -162,7 +162,7 @@ static BOOL NSISCALL _HandleStaticBkColor(UINT uMsg, WPARAM wParam, LPARAM lPara
#ifndef NSIS_CONFIG_LOG_ODS
void NSISCALL build_g_logfile()
{
lstrcat(addtrailingslash(mystrcpy(g_log_file,state_install_directory)),"install.log");
mystrcat(addtrailingslash(mystrcpy(g_log_file,state_install_directory)),"install.log");
}
#endif
#endif
@ -882,7 +882,7 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
// display name gives just the folder name
if (lstrcmpi(post_str, g_tmp))
{
lstrcat(addtrailingslash(dir), post_str);
mystrcat(addtrailingslash(dir), post_str);
}
}
@ -1383,7 +1383,7 @@ void NSISCALL update_status_text(int strtab, const char *text) {
if (text)
{
if (tmplen + mystrlen(text) >= sizeof(tmp)) return;
lstrcat(tmp, text);
mystrcat(tmp, text);
}
if ((updateflag & 4)) my_SetWindowText(insthwnd2, tmp);