summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdclist/src/clistopts.cpp2
-rw-r--r--src/core/stdfile/src/fileopts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdclist/src/clistopts.cpp b/src/core/stdclist/src/clistopts.cpp
index fa86e449df..623f3b6700 100644
--- a/src/core/stdclist/src/clistopts.cpp
+++ b/src/core/stdclist/src/clistopts.cpp
@@ -96,7 +96,7 @@ public:
g_plugin.setWord("IconFlashTime", blink.GetPosition());
g_plugin.setByte("DisableTrayFlash", IsDlgButtonChecked(m_hwnd, IDC_DISABLEBLINK));
- PROTOACCOUNT *pa = (PROTOACCOUNT *)status.GetItemData(status.GetCurSel());
+ PROTOACCOUNT *pa = (PROTOACCOUNT *)status.GetCurData();
if (pa == nullptr)
g_plugin.delSetting("PrimaryStatus");
else
diff --git a/src/core/stdfile/src/fileopts.cpp b/src/core/stdfile/src/fileopts.cpp
index 34185f2312..006273dfd1 100644
--- a/src/core/stdfile/src/fileopts.cpp
+++ b/src/core/stdfile/src/fileopts.cpp
@@ -169,7 +169,7 @@ public:
void onSelChanged_Combo(CCtrlCombo*)
{
- int iScanner = cmbScanCmdLine.GetItemData(cmbScanCmdLine.GetCurSel());
+ int iScanner = cmbScanCmdLine.GetCurData();
if (iScanner >= _countof(virusScanners) || iScanner < 0)
return;