diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-23 08:45:16 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-23 08:45:16 +0000 |
commit | cef86ad96279cd536e576883c37e4b522e9441b4 (patch) | |
tree | 3cdd948f8ae37713d3250aedf76689fca7af085f /plugins/SimpleAR/src/Options.cpp | |
parent | e13abbf0f5a4bcef939e4e32e06a7e8e74e72465 (diff) |
small cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleAR/src/Options.cpp')
-rw-r--r-- | plugins/SimpleAR/src/Options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleAR/src/Options.cpp b/plugins/SimpleAR/src/Options.cpp index 59aa4587df..aa4c3101ec 100644 --- a/plugins/SimpleAR/src/Options.cpp +++ b/plugins/SimpleAR/src/Options.cpp @@ -95,7 +95,7 @@ INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_NAME | CMIM_ICON | CMIF_TCHAR;
mi.ptszName = fEnabled ? LPGENT("Disable Auto&reply") : LPGENT("Enable Auto&reply");
- mi.hIcon = fEnabled ? LoadIcon(hinstance, MAKEINTRESOURCE(IDI_ON)) : LoadIcon(hinstance, MAKEINTRESOURCE(IDI_OFF));
+ mi.icolibItem = fEnabled ? iconList[0].hIcolib : iconList[1].hIcolib;
Menu_ModifyItem(hEnableMenu, &mi);
GetDlgItemText(hwndDlg, IDC_HEADING, ptszText, SIZEOF(ptszText));
|