From: Steve Brokenshire Date: Fri, 1 Jan 2016 14:58:10 +0000 (+0000) Subject: BDAY and ANNIVERSARY didn't use the ContactDataObject properly. X-Git-Tag: release-0.09~107 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=411cb217958a492b2449f90de64a99650e5b1e9e;p=xestiaab%2F.git BDAY and ANNIVERSARY didn't use the ContactDataObject properly. --- 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.