X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fvcard%2Fvcard34conv-v3conv.cpp;h=8639a746fedf3bba87aef09af1d3da18a21b6159;hb=e966fc4469f3a62433227a20a7fd17d5ff32a169;hp=c36d3cb4a13ee916e05f9aa07db4c1f3fa8848ff;hpb=4d7fb449e4c97f39e39f2d8ab48d3097014acd23;p=xestiaab%2F.git diff --git a/source/vcard/vcard34conv-v3conv.cpp b/source/vcard/vcard34conv-v3conv.cpp index c36d3cb..8639a74 100644 --- a/source/vcard/vcard34conv-v3conv.cpp +++ b/source/vcard/vcard34conv-v3conv.cpp @@ -1747,7 +1747,25 @@ bool vCard34Conv::ConvertToV3(wxString Filename, wxString *wxSData){ ContactDatav3.AddRaw(wxT("X-VCARD4-XML;") + ContactLine.Mid(intPrevValue, ((QuoteBreakPoint + 1) - (intPrevValue + 1))), wxSPropertySeg2); - } + } + + } else if (wxSProperty.Mid(0, 6) == wxT("SOURCE")){ + + // Process the source links. + + int intPrevValue = 8; + + intPrevValue = 6; + + if (((QuoteBreakPoint + 1) - intPrevValue) <= 0){ + + ContactDatav3.AddRaw(wxT("X-VCARD4-SOURCE"), wxSPropertySeg2); + + } else { + + ContactDatav3.AddRaw(wxT("X-VCARD4-SOURCE;") + ContactLine.Mid(intPrevValue, ((QuoteBreakPoint + 1) - (intPrevValue + 1))), wxSPropertySeg2); + + } }