diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 16:19:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 16:19:57 +0000 |
commit | d55f17dea8734cfb458fd8fcbac684d141b181af (patch) | |
tree | 4c6d8ea7526b92f89c22b9d299bf01f8278072c8 /plugins/Utils | |
parent | 4a67a2dabbdf4aefbe729779f3be84177bbe9274 (diff) |
various quirks during MS_DB_TIME_TIMESTAMPTOSTRINGT calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@14265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils')
-rw-r--r-- | plugins/Utils/mir_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils/mir_buffer.h b/plugins/Utils/mir_buffer.h index 5391b1bcf4..eb7b084579 100644 --- a/plugins/Utils/mir_buffer.h +++ b/plugins/Utils/mir_buffer.h @@ -470,7 +470,7 @@ static void ReplaceVars(Buffer<TCHAR> *buffer, MCONTACT hContact, TCHAR **variab DBTIMETOSTRINGT tst = {0};
tst.szFormat = _T("d s");
tst.szDest = tmp;
- tst.cbDest = 128;
+ tst.cbDest = SIZEOF(tmp);
CallService(MS_DB_TIME_TIMESTAMPTOSTRINGT, (WPARAM) time(NULL), (LPARAM) &tst);
buffer->replace(j, i + 1, tmp);
}
|