diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-22 22:53:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-22 22:53:04 +0300 |
commit | 9a153012f6d737108fc11a75a2780f7f40adddb9 (patch) | |
tree | 930d100b63e3b2fee30140f6ece3f81af7a21d06 /plugins/TabSRMM/src/muchighlight.cpp | |
parent | 23f676163a595018346050eccb5cc8b2571381e6 (diff) |
tabSRMM: empty highlight list isn't stored in profile
Diffstat (limited to 'plugins/TabSRMM/src/muchighlight.cpp')
-rw-r--r-- | plugins/TabSRMM/src/muchighlight.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/muchighlight.cpp b/plugins/TabSRMM/src/muchighlight.cpp index 50fc240d3e..01390be456 100644 --- a/plugins/TabSRMM/src/muchighlight.cpp +++ b/plugins/TabSRMM/src/muchighlight.cpp @@ -247,6 +247,7 @@ INT_PTR CALLBACK CMUCHighlight::dlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, L ::GetDlgItemText(hwndDlg, IDC_HIGHLIGHTNICKPATTERN, szBuf, iLen + 1);
db_set_ws(0, CHAT_MODULE, "HighlightNames", szBuf);
}
+ else db_set_ws(0, CHAT_MODULE, "HighlightNames", L"");
iLen = ::GetWindowTextLength(::GetDlgItem(hwndDlg, IDC_HIGHLIGHTTEXTPATTERN));
if (iLen) {
|