summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2014-04-07 17:39:29 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2014-04-07 17:39:29 +0000
commitac054a37c8e45ca288ba2aaf11379192141442d5 (patch)
treee6fc0019d1770cde6b26234d4906c9f2d1007cd8
parentacb9afd1419ded31a4d9c4d151a0b79801b23d78 (diff)
Db3x_mmap:
- Icon in the password request window fixed. git-svn-id: http://svn.miranda-ng.org/main/trunk@8875 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Db3x_mmap/src/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp
index 2df3cedaf4..e1c4e6e429 100644
--- a/plugins/Db3x_mmap/src/ui.cpp
+++ b/plugins/Db3x_mmap/src/ui.cpp
@@ -63,7 +63,7 @@ static INT_PTR CALLBACK sttEnterPassword(HWND hwndDlg, UINT uMsg, WPARAM wParam,
switch (uMsg) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
- SendMessage(GetDlgItem(hwndDlg, IDC_HEADERBAR), WM_SETICON, ICON_SMALL, (LPARAM)Skin_GetIconByHandle(iconList[0].hIcolib, true));
+ SendMessage(GetDlgItem(hwndDlg, IDC_HEADERBAR), WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon(g_hInst, MAKEINTRESOURCE(iconList[0].defIconID)));
param = (DlgChangePassParam*)lParam;
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam);