diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-05 21:09:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-05 21:09:29 +0000 |
commit | 24f781c01313de9376b6f32eb26862ec5c9d1cca (patch) | |
tree | 64835598ca8f8b21baa5e61b8eb5f1542dedb78a /plugins | |
parent | abf0943c83ea9511b73bf47c451ac084c77780bd (diff) |
if a message entry field is empty, the appropriate setting must be erased
git-svn-id: http://svn.miranda-ng.org/main/trunk@14020 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 40ba1f0732..5fd420c57b 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1854,6 +1854,8 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP ptrA szText(GetRichTextUtf(GetDlgItem(hwndDlg, IDC_MESSAGE)));
if (szText)
db_set_utf(dat->hContact, "SRMM", "SavedMsg", szText);
+ else
+ db_unset(dat->hContact, "SRMM", "SavedMsg");
}
tcmdlist_free(dat->cmdList);
|