From: Steve Brokenshire Date: Mon, 28 Dec 2015 05:35:56 +0000 (+0000) Subject: Replaced token processing in N with ProcessTokens. X-Git-Tag: release-0.09~152 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=6c2b41b84c65aed2eaa71c830175e4d5756a73c9;p=xestiaab%2F.git Replaced token processing in N with ProcessTokens. --- diff --git a/source/contacteditor/ContactDataObject.cpp b/source/contacteditor/ContactDataObject.cpp index ae15502..23677a9 100644 --- a/source/contacteditor/ContactDataObject.cpp +++ b/source/contacteditor/ContactDataObject.cpp @@ -881,16 +881,7 @@ void ContactDataObject::ProcessN(wxString PropertySeg1, wxString PropertySeg2){ } else if (!PropertyName.IsEmpty() && !PropertyValue.IsEmpty()){ - if (FirstToken == TRUE){ - - PropertyTokens.Append(PropertyName + wxT("=") + PropertyValue); - FirstToken = FALSE; - - } else { - - PropertyTokens.Append(wxT(";") + PropertyName + wxT("=") + PropertyValue); - - } + ProcessTokens(&PropertyName, &PropertyValue, &PropertyTokens, &FirstToken); }