move SetDetailsPrint flag to g_exec_flag and added a lastused capability to EW_SETFLAG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5268 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ffe4cefdd9
commit
b0978fc844
6 changed files with 43 additions and 42 deletions
|
@ -262,6 +262,9 @@ FORCE_INLINE int NSISCALL ui_doinstall(void)
|
|||
mystrcat(state_language, g_tmp);
|
||||
}
|
||||
|
||||
// initialize status update (SetDetailsPrint) flag
|
||||
g_exec_flags.status_update = 6;
|
||||
|
||||
// set default language
|
||||
set_language();
|
||||
|
||||
|
@ -1450,15 +1453,13 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
|
||||
#endif//NSIS_CONFIG_VISIBLE_SUPPORT
|
||||
|
||||
int ui_st_updateflag=0x6;
|
||||
|
||||
void NSISCALL update_status_text(int strtab, const char *text) {
|
||||
static char tmp[NSIS_MAX_STRLEN*2];
|
||||
LVITEM new_item;
|
||||
HWND linsthwnd = insthwnd;
|
||||
if (linsthwnd)
|
||||
{
|
||||
int updateflag = ui_st_updateflag;
|
||||
int updateflag = g_exec_flags.status_update;
|
||||
int tmplen;
|
||||
|
||||
if (!(updateflag & 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue