removed double initialization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5091 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
820a1bb7a9
commit
45e24287fc
1 changed files with 0 additions and 1 deletions
|
@ -165,7 +165,6 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
|||
switch (msg) {
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
memset(&g_sdata, 0, sizeof(NSCRIPTDATA));
|
||||
g_sdata.hwnd=hwndDlg;
|
||||
HICON hIcon = LoadIcon(g_sdata.hInstance,MAKEINTRESOURCE(IDI_ICON));
|
||||
SetClassLong(hwndDlg,GCL_HICON,(long)hIcon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue