summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/AvatarDlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-19 16:19:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-19 16:19:57 +0000
commitd55f17dea8734cfb458fd8fcbac684d141b181af (patch)
tree4c6d8ea7526b92f89c22b9d299bf01f8278072c8 /plugins/AvatarHistory/src/AvatarDlg.cpp
parent4a67a2dabbdf4aefbe729779f3be84177bbe9274 (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/AvatarHistory/src/AvatarDlg.cpp')
-rw-r--r--plugins/AvatarHistory/src/AvatarDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/AvatarDlg.cpp b/plugins/AvatarHistory/src/AvatarDlg.cpp
index a6e8a24029..dd425345d6 100644
--- a/plugins/AvatarHistory/src/AvatarDlg.cpp
+++ b/plugins/AvatarHistory/src/AvatarDlg.cpp
@@ -441,7 +441,7 @@ int FillAvatarListFromDB(HWND list, MCONTACT hContact)
DBTIMETOSTRINGT tts = {0};
tts.szFormat = _T("d s");
tts.szDest = date;
- tts.cbDest = sizeof(date);
+ tts.cbDest = SIZEOF(date);
CallService(MS_DB_TIME_TIMESTAMPTOSTRINGT, (WPARAM)dbei.timestamp, (LPARAM)&tts);
// Get file in disk