From d55f17dea8734cfb458fd8fcbac684d141b181af Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Jun 2015 16:19:57 +0000 Subject: various quirks during MS_DB_TIME_TIMESTAMPTOSTRINGT calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AvatarHistory/src/AvatarDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AvatarHistory/src/AvatarDlg.cpp') 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 -- cgit v1.2.3