fix #171, properly parse contact name from vcf if whole name is 1 field

This commit is contained in:
tibbi 2018-06-19 16:18:45 +02:00
parent b4c4691f1c
commit 722e66e1dc
1 changed files with 5 additions and 1 deletions

View File

@ -116,7 +116,11 @@ class VcfImporter(val activity: SimpleActivity) {
if (!isGettingName && currentNameIsANSI && names.endsWith('=')) {
isGettingName = true
} else {
parseNames()
if (names.contains(";")) {
parseNames()
} else if (names.startsWith(":")) {
curFirstName = names.substring(1)
}
}
}