diff options
Diffstat (limited to 'plugins/SeenPlugin/src/utils.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 7314a1508d..3c9bc669fb 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -112,7 +112,7 @@ DWORD isSeen(MCONTACT hcontact, SYSTEMTIME *st) }
SYSTEMTIME lst;
- ZeroMemory(&lst,sizeof(lst));
+ memset(&lst, 0, sizeof(lst));
if (lst.wYear = db_get_w(hcontact,S_MOD,"Year",0)) {
if (lst.wMonth = db_get_w(hcontact,S_MOD,"Month",0)) {
if (lst.wDay = db_get_w(hcontact,S_MOD,"Day",0)) {
|