summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/SettingsDlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-17 13:38:43 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-17 13:38:43 +0300
commitf163ebca6e34e418978e30a83989d001186eff53 (patch)
treeee2c32bd44ae92dcbf2e9338863cd1735cb0bf96 /protocols/CurrencyRates/src/SettingsDlg.cpp
parent8de798016edb9d7e87bda93431ba9548f5c6353a (diff)
code cleaning
Diffstat (limited to 'protocols/CurrencyRates/src/SettingsDlg.cpp')
-rw-r--r--protocols/CurrencyRates/src/SettingsDlg.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/CurrencyRates/src/SettingsDlg.cpp b/protocols/CurrencyRates/src/SettingsDlg.cpp
index e22a12c3a5..134d504553 100644
--- a/protocols/CurrencyRates/src/SettingsDlg.cpp
+++ b/protocols/CurrencyRates/src/SettingsDlg.cpp
@@ -146,10 +146,9 @@ INT_PTR CALLBACK EditPopupSettingsDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM
n = IDC_DELAYCUSTOM;
break;
case CPopupSettings::delayPermanent:
+ default:
n = IDC_DELAYPERMANENT;
break;
- default:
- assert(!"Unknown delay mode. Please, fix it");
}
::CheckRadioButton(hWnd, IDC_DELAYFROMPU, IDC_DELAYPERMANENT, n);