summaryrefslogtreecommitdiff
path: root/src/mir_app/src/proto_opts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/proto_opts.cpp')
-rw-r--r--src/mir_app/src/proto_opts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp
index 9bd0d101bf..b40c692c77 100644
--- a/src/mir_app/src/proto_opts.cpp
+++ b/src/mir_app/src/proto_opts.cpp
@@ -296,7 +296,7 @@ class CAccountManagerDlg : public CDlgBase
m_btnEdit.Enable(!pa->bOldProto && !pa->bDynDisabled);
m_btnRemove.Enable(true);
m_btnUpgrade.Enable(pa->bOldProto || pa->bDynDisabled);
- m_btnOptions.Enable(pa->ppro != 0);
+ m_btnOptions.Enable(pa->ppro != nullptr);
if (m_iSelected >= 0) {
PROTOACCOUNT *pa_old = (PROTOACCOUNT *)m_accList.GetItemData(m_iSelected);