summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts/src')
-rw-r--r--plugins/RecentContacts/src/RecentContacts.cpp4
-rw-r--r--plugins/RecentContacts/src/stdafx.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp
index 656434f9c2..80004c646d 100644
--- a/plugins/RecentContacts/src/RecentContacts.cpp
+++ b/plugins/RecentContacts/src/RecentContacts.cpp
@@ -386,8 +386,8 @@ INT_PTR OnMenuCommandShowList(WPARAM, LPARAM)
break;
}
if (curEvent != NULL)
- if (curTime == -1 || (__time64_t)dbe.timestamp > curTime)
- curTime = (__time64_t)dbe.timestamp;
+ if (curTime == -1 || (__time64_t)dbe.getUnixtime() > curTime)
+ curTime = (__time64_t)dbe.getUnixtime();
}
if (curTime != -1)
diff --git a/plugins/RecentContacts/src/stdafx.cxx b/plugins/RecentContacts/src/stdafx.cxx
index 13f28e1314..f111565f38 100644
--- a/plugins/RecentContacts/src/stdafx.cxx
+++ b/plugins/RecentContacts/src/stdafx.cxx
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2012-24 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-25 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License