another 8 bytes saved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1178 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
04adc90a1f
commit
0728c9b4c8
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,7 @@ int NSISCALL ExecuteCodeSegment(int pos, HWND hwndProgress)
|
||||||
{
|
{
|
||||||
extern int progress_bar_pos, progress_bar_len;
|
extern int progress_bar_pos, progress_bar_len;
|
||||||
progress_bar_pos+=rv;
|
progress_bar_pos+=rv;
|
||||||
progress_bar_len+=(!progress_bar_len);
|
SendMessage(hwndProgress,PBM_SETPOS,MulDiv(progress_bar_pos,30000,progress_bar_len+!progress_bar_len),0);
|
||||||
SendMessage(hwndProgress,PBM_SETPOS,MulDiv(progress_bar_pos,30000,progress_bar_len),0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue