summaryrefslogtreecommitdiff
path: root/plugins/Utils/mir_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils/mir_buffer.h')
-rw-r--r--plugins/Utils/mir_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils/mir_buffer.h b/plugins/Utils/mir_buffer.h
index 4aa0a2602e..ac7c909860 100644
--- a/plugins/Utils/mir_buffer.h
+++ b/plugins/Utils/mir_buffer.h
@@ -468,7 +468,7 @@ static void ReplaceVars(Buffer<TCHAR> *buffer, MCONTACT hContact, TCHAR **variab
else if (foundLen == 6 && _tcsncmp(&buffer->str[j], _T("%date%"), 6) == 0)
{
TCHAR tmp[128];
- TimeZone_ToStringT(time(NULL), _T("d s"), tmp, SIZEOF(tmp));
+ TimeZone_ToStringT(time(NULL), _T("d s"), tmp, _countof(tmp));
buffer->replace(j, i + 1, tmp);
}
else