diff options
author | George Hazan <george.hazan@gmail.com> | 2014-04-22 11:51:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-04-22 11:51:27 +0000 |
commit | 184155c8aaf1dd0c8bcd498dfd7ba9c512433e73 (patch) | |
tree | 9e6a7b029d2877aa70cddb9af228c12f9149047b /plugins | |
parent | 158a825fb4ec52f492d7accd0de17ce8b601b5b6 (diff) |
db_mc_setDefault/db_mc_setDefaultNum got a flag to update database or not
git-svn-id: http://svn.miranda-ng.org/main/trunk@9047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 2 | ||||
-rw-r--r-- | plugins/Db3x_mmap/src/dbevents.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index bd653fdc4a..77728deb54 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1283,7 +1283,7 @@ static LRESULT clcOnLButtonUp(ClcData *dat, HWND hwnd, UINT msg, WPARAM wParam, mir_sntprintf(Wording, SIZEOF(Wording), TranslateT("Do you want contact '%s' to be default?"), contSour->szText);
int res = MessageBox(hwnd, Wording, TranslateT("Set default contact"), MB_OKCANCEL | MB_ICONQUESTION);
if (res == 1)
- db_mc_setDefault(contDest->hContact, hsour);
+ db_mc_setDefault(contDest->hContact, hsour, true);
}
else {
MCONTACT hcontact = contSour->hContact;
diff --git a/plugins/Db3x_mmap/src/dbevents.cpp b/plugins/Db3x_mmap/src/dbevents.cpp index 1cdc3bd191..d5a608ea32 100644 --- a/plugins/Db3x_mmap/src/dbevents.cpp +++ b/plugins/Db3x_mmap/src/dbevents.cpp @@ -56,7 +56,7 @@ STDMETHODIMP_(HANDLE) CDb3Mmap::AddEvent(MCONTACT contactID, DBEVENTINFO *dbei) if (cc->IsSub()) {
ccSub = cc;
// set default sub to the event's source
- db_mc_setDefault(cc->parentID, contactID);
+ db_mc_setDefault(cc->parentID, contactID, false);
contactID = cc->parentID; // and add an event to a metahistory
if (db_mc_isEnabled())
contactNotifyID = contactID;
|