updated link to docs and buffer overrun prob
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@898 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
12f3bc0af7
commit
7f0129654f
6 changed files with 30 additions and 35 deletions
|
@ -32,14 +32,7 @@ void SetTitle(HWND hwnd,char *substr) {
|
|||
}
|
||||
|
||||
void SetBranding(HWND hwnd) {
|
||||
// buffer overrun occured here, consider changing to a _snprintf style
|
||||
// function (Rainwater this is your call, I don't want to introduce use of
|
||||
// a new string function into your code)... if the buffer is overwritten
|
||||
// it trashes the function post code. For now I've just increased the size
|
||||
// of the title buffer -- Sunjammer 04 September 2002.
|
||||
char title[128];
|
||||
wsprintf(title,"MakeNSISW %s",NSISW_VERSION);
|
||||
SetDlgItemText(hwnd, IDC_VERSION, title);
|
||||
SetDlgItemText(hwnd, IDC_VERSION, NSISW_VERSION);
|
||||
}
|
||||
|
||||
void CopyToClipboard(HWND hwnd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue