diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-30 12:16:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-30 12:16:44 +0000 |
commit | 25ec54ea27a7099f33573b260a620ed7273176fe (patch) | |
tree | 1810a0cb35d23deeed9ccdaf0ab276a4022f9a41 /plugins/NotesAndReminders/src/notes.cpp | |
parent | a546606709e6bb72e01eb38b2c8c8756608fd5d6 (diff) |
- db_set_blob used everywhere for writing blobs
- DBCONTACTWRITESETTING left only in the event handlers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/notes.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/notes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NotesAndReminders/src/notes.cpp b/plugins/NotesAndReminders/src/notes.cpp index d54b8ea03b..9eaca318a1 100644 --- a/plugins/NotesAndReminders/src/notes.cpp +++ b/plugins/NotesAndReminders/src/notes.cpp @@ -942,7 +942,7 @@ static void JustSaveNotesEx(STICKYNOTE *pModified) sprintf(ValueName, "NotesData%d", NotesCount - I - 1); // we do not reverse notes in DB
- WriteSettingBlob(0, MODULENAME, ValueName, (WORD)(n+1), Value);
+ db_set_blob(0, MODULENAME, ValueName, Value, n+1);
SAFE_FREE((void**)&Value);
if (bDeleteTData)
|