diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-10 13:34:12 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-10 13:34:12 +0000 |
commit | e982aa890402e683e5c9ac6139ecd60dfa51f257 (patch) | |
tree | 49b11617b6d4b752cafbf4c2685975544ce07287 /plugins/PluginUpdater/src/Options.cpp | |
parent | fa7b33268934a7a89a643df0c2c120e20d553748 (diff) |
PluginUpdater:
- Fixed another memory leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@11815 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index c4ba467ea0..8dea14b3c7 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -241,7 +241,7 @@ INT_PTR CALLBACK DlgPopupOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) {
WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam);
if (wNotifyCode == CPN_COLOURCHANGED) {
- if (idCtrl > 40070) {
+ if (idCtrl > 40070) {
//It's a color picker change. idCtrl is the control id.
COLORREF color = SendDlgItemMessage(hdlg, idCtrl, CPM_GETCOLOUR, 0, 0);
int ctlID = idCtrl;
@@ -252,8 +252,6 @@ INT_PTR CALLBACK DlgPopupOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) SendMessage(GetParent(hdlg), PSM_CHANGED, 0, 0);
return TRUE;
}
- }
- else if (wNotifyCode == CBN_SELCHANGE) {
if (idCtrl == IDC_LC)
PopupOptions.LeftClickAction = (BYTE)SendDlgItemMessage(hdlg, IDC_LC, CB_GETCURSEL, 0, 0);
else if (idCtrl == IDC_RC)
|