summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-24 23:25:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-24 23:25:31 +0300
commit46425ea8d084497a7b29ed9b7a57188732726406 (patch)
tree72d542cb2939ce4908f9b51e9b6912c3a57e32f3 /src/mir_app
parent8c1471451343d0323f2cd0b3cdf7557eeea693ee (diff)
nullptr must be passed inside SetStatusText to return back to the predefined value
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_util.cpp b/src/mir_app/src/srmm_util.cpp
index f9e7ed65c5..45552db1d2 100644
--- a/src/mir_app/src/srmm_util.cpp
+++ b/src/mir_app/src/srmm_util.cpp
@@ -105,7 +105,7 @@ static INT_PTR CALLBACK sttSetStatusText(void *_p)
CSrmmBaseDialog *pDlg = (CSrmmBaseDialog*)GetWindowLongPtr(param->hwnd, GWLP_USERDATA);
if (pDlg != nullptr)
- pDlg->SetStatusText((param->wszText == nullptr) ? L"" : param->wszText, param->hIcon);
+ pDlg->SetStatusText(param->wszText, param->hIcon);
return 0;
}