Sleep back to normal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2555 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
82cebbf365
commit
9a092cb98f
1 changed files with 36 additions and 36 deletions
|
@ -201,7 +201,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
{
|
||||
int x=process_string_fromparm_toint(0);
|
||||
log_printf2("Sleep(%d)",x);
|
||||
Sleep(min(x,1));
|
||||
Sleep(max(x,1));
|
||||
}
|
||||
break;
|
||||
case EW_BRINGTOFRONT:
|
||||
|
@ -238,7 +238,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
{
|
||||
update_status_text_from_lang(LANG_OUTPUTDIR,buf1);
|
||||
mystrcpy(state_output_directory,buf1);
|
||||
SetCurrentDirectory(state_output_directory);
|
||||
SetCurrentDirectory(buf1);
|
||||
}
|
||||
else update_status_text_from_lang(LANG_CREATEDIR,buf1);
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue