summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-17 23:16:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-17 23:16:31 +0300
commit4dad3f7d4adaaddcf2493c49ad1d094374d68104 (patch)
treee59e5e8eeb13209404048d33a7918f59b0838497 /protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp
parent5f3068756e3f1317ea01b0d3592839ffa318b164 (diff)
CurrencyRates: all global settings moved to UI classes
Diffstat (limited to 'protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp')
-rw-r--r--protocols/CurrencyRates/src/CurrencyRateInfoDlg.cpp5
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;
}