summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Db3x_mmap/src/ui.h2
-rw-r--r--plugins/Dbx_mdbx/src/ui.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/ui.h b/plugins/Db3x_mmap/src/ui.h
index 36bec825e9..09e27961f8 100644
--- a/plugins/Db3x_mmap/src/ui.h
+++ b/plugins/Db3x_mmap/src/ui.h
@@ -42,7 +42,7 @@ public:
void SetDescr(CRYPTO_PROVIDER *prov)
{
- m_descr.SetText(prov->ptszDescr);
+ m_descr.SetText(prov->szDescr.w);
}
inline CRYPTO_PROVIDER* GetSelected()
diff --git a/plugins/Dbx_mdbx/src/ui.h b/plugins/Dbx_mdbx/src/ui.h
index c510cc89da..29eed1c792 100644
--- a/plugins/Dbx_mdbx/src/ui.h
+++ b/plugins/Dbx_mdbx/src/ui.h
@@ -68,7 +68,7 @@ class CSelectCryptoDialog : public CDlgBase
m_combo.AddStringA(prov->pszName, i);
}
m_combo.SetCurSel(0);
- m_descr.SetText(m_provs[0]->ptszDescr);
+ m_descr.SetText(m_provs[0]->szDescr.w);
}
void OnClose()
@@ -79,7 +79,7 @@ class CSelectCryptoDialog : public CDlgBase
void OnComboChanged(CCtrlCombo*)
{
- m_descr.SetText(m_provs[m_combo.GetItemData(m_combo.GetCurSel())]->ptszDescr);
+ m_descr.SetText(m_provs[m_combo.GetItemData(m_combo.GetCurSel())]->szDescr.w);
}
public: