diff options
Diffstat (limited to 'plugins/Utils/mir_buffer.h')
-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);
}
|