bug fix: TYPE with multiple comma-separated values (vCard 3.0, e.g. TYPE=WORK,VOICE) was not decoded as intended => downloading into iPhone from SW card3 URI did not set type correctly

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@444 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2007-11-04 21:07:48 +00:00
parent e207027ae1
commit 16be53a279

View file

@ -275,7 +275,8 @@ bool VProperty::isType(wchar_t* type) {
paramindex < parameterCount();
paramindex++) {
wchar_t *value = getParameterValue(paramindex);
if (value && !strcasecmp(value, type)) {
wchar_t *param = getParameter(paramindex);
if (value && param && !strcasecmp(param, "TYPE")) {
wchar_t seps[] = TEXT(",");
wchar_t* token;