diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-17 23:16:31 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-17 23:16:31 +0300 |
commit | 4dad3f7d4adaaddcf2493c49ad1d094374d68104 (patch) | |
tree | e59e5e8eeb13209404048d33a7918f59b0838497 /protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp | |
parent | 5f3068756e3f1317ea01b0d3592839ffa318b164 (diff) |
CurrencyRates: all global settings moved to UI classes
Diffstat (limited to 'protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp')
-rw-r--r-- | protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp b/protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp index 4fddbf8bf1..cdfea7b3fd 100644 --- a/protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp +++ b/protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp @@ -137,10 +137,9 @@ int CurrencyRates_OnContactDoubleClick(WPARAM hContact, LPARAM/* lp*/) ///////////////////////////////////////////////////////////////////////////////////////// -INT_PTR CurrencyRatesMenu_EditSettings(WPARAM wp, LPARAM) +INT_PTR CurrencyRatesMenu_EditSettings(WPARAM hContact, LPARAM) { - MCONTACT hContact = MCONTACT(wp); - if (NULL != hContact) + if (hContact) ShowSettingsDlg(hContact); return 0; } |