summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-18 14:21:10 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-18 14:21:10 +0300
commit6160ab394c57080c71b737375f47d1fb7b6a16d0 (patch)
tree2c77e37835730a77ccb1826f30b1ab005a25bd6d /src/mir_core
parent6ed0f28f9288a76e479b916f2e579b1a61ac47fd (diff)
fixes #4130 (Переделать настройку "использовать сторонний просмотрщик журнала в групповых чатах")
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/Windows/CDlgBase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_core/src/Windows/CDlgBase.cpp b/src/mir_core/src/Windows/CDlgBase.cpp
index 9740a5b19f..c2ffcb3210 100644
--- a/src/mir_core/src/Windows/CDlgBase.cpp
+++ b/src/mir_core/src/Windows/CDlgBase.cpp
@@ -349,8 +349,7 @@ INT_PTR CDlgBase::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
if (pnmh->idFrom == 0) {
switch (pnmh->code) {
case PSN_APPLY:
- if (LPPSHNOTIFY(lParam)->lParam != 3) // IDC_APPLY
- m_bExiting = true;
+ m_bExiting = ((PSHNOTIFY*)pnmh)->lParam != 3; // IDC_APPLY
if (!VerifyControls(&CCtrlBase::OnApply))
m_bExiting = false;