From 411cb217958a492b2449f90de64a99650e5b1e9e Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Fri, 1 Jan 2016 14:58:10 +0000 Subject: [PATCH] BDAY and ANNIVERSARY didn't use the ContactDataObject properly. --- source/contacteditor/frmContactEditor-Load.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/contacteditor/frmContactEditor-Load.cpp b/source/contacteditor/frmContactEditor-Load.cpp index 995bb15..90fff1c 100644 --- a/source/contacteditor/frmContactEditor-Load.cpp +++ b/source/contacteditor/frmContactEditor-Load.cpp @@ -172,8 +172,8 @@ bool frmContactEditor::LoadContact(wxString Filename){ // Process the unique ID (UID) - UIDToken = ContactEditorData.UIDToken; - + // Do nothing at the moment. + // Process the contact type (KIND) (frmContactEditor-LoadGroup.cpp) LoadKind(&ContactEditorData.ContactKind); @@ -1549,7 +1549,7 @@ void frmContactEditor::LoadBirthday(wxString *BirthdayData, bool *BirthdayText){ wxString wxSData; - if (Birthday.Mid(0, 2) == wxT("--")){ + if (BirthdayData->Mid(0, 2) == wxT("--")){ // Skip year. @@ -1584,7 +1584,7 @@ void frmContactEditor::LoadAnniversary(wxString *AnniversaryData, bool *Annivers wxString wxSData; - if (Anniversary.Mid(0, 2) == wxT("--")){ + if (AnniversaryData->Mid(0, 2) == wxT("--")){ // Skip year. -- 2.39.5