From 0afd3fae06d577b2f5a277597bd94d300b56e2b6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 22:45:42 +0000 Subject: adaptation of UInfoEx for new functions git-svn-id: http://svn.miranda-ng.org/main/trunk@14919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/classMAnnivDate.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/UserInfoEx/src/classMAnnivDate.cpp') diff --git a/plugins/UserInfoEx/src/classMAnnivDate.cpp b/plugins/UserInfoEx/src/classMAnnivDate.cpp index 6663f4a275..9aa6ba77f0 100644 --- a/plugins/UserInfoEx/src/classMAnnivDate.cpp +++ b/plugins/UserInfoEx/src/classMAnnivDate.cpp @@ -73,7 +73,7 @@ void MAnnivDate::Clear() * param: none * return: nothing **/ -void MAnnivDate::SetDate(SYSTEMTIME &st) +void MAnnivDate::SetDate(const SYSTEMTIME &st) { ZeroDate(); Year(st.wYear); @@ -88,7 +88,7 @@ void MAnnivDate::SetDate(SYSTEMTIME &st) * param: none * return: nothing **/ -void MAnnivDate::SetDate(MAnnivDate &mda) +void MAnnivDate::SetDate(const MAnnivDate &mda) { SetDate(mda.SystemTime()); _wID = mda.Id(); @@ -210,9 +210,10 @@ int MAnnivDate::Age(MTime *pNow) * return: structure, holding zodiac information **/ -struct { - const WORD startDays; - const WORD endDays; +struct +{ + WORD startDays; + WORD endDays; LPCTSTR szZodiac; LPCSTR szZodiacIcon; } -- cgit v1.2.3