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/Variables/src | |
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/Variables/src')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 0457611215..2710effbf0 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -715,7 +715,7 @@ static TCHAR *parseMirDateString(ARGUMENTSINFO *ai) DBTIMETOSTRINGT tst = { 0 };
tst.szFormat = _T("d s");
tst.szDest = ret;
- tst.cbDest = 128;
+ tst.cbDest = SIZEOF(ret);
if (CallService(MS_DB_TIME_TIMESTAMPTOSTRINGT, (WPARAM)time(NULL), (LPARAM)&tst))
return NULL;
|