diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-11 20:56:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-11 20:56:13 +0300 |
commit | f62485722ecc3f16fafb79e04fa908d8cd818193 (patch) | |
tree | 6a9f98217e342ea3327439e87649605dfbac1244 | |
parent | 1a23578ffa4dd87cc024f362bd8b2fadfa087e23 (diff) |
crash fix
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index ab212c69a6..43b577fcf9 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -405,7 +405,7 @@ int CGlobals::DBSettingChanged(WPARAM hContact, LPARAM lParam) CTabBaseDlg *dat = c->getDat();
if (!strcmp(setting, "MirVer"))
PostMessage(hwnd, DM_CLIENTCHANGED, 0, 0);
- if (dat && fChanged || fExtendedStatusChange)
+ if (dat && (fChanged || fExtendedStatusChange))
dat->UpdateTitle();
if (fExtendedStatusChange)
PostMessage(hwnd, DM_UPDATESTATUSMSG, 0, 0);
|