summaryrefslogtreecommitdiff
path: root/plugins/Variables
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables')
-rw-r--r--plugins/Variables/src/parse_miranda.cpp2
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;