summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/backend/vobject.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/backend/vobject.cpp b/library/backend/vobject.cpp
index 592d116..28b8bae 100644
--- a/library/backend/vobject.cpp
+++ b/library/backend/vobject.cpp
@@ -1357,3 +1357,5 @@ DLLEXPORT(const char *) vObjectTypeInfo(VObject *o)
const char *type = vObjectName( o );
- if ( strcmp( type, "TYPE" ) == 0 )
+ if ( strcmp( type, "type" ) == 0 ||
+ strcmp( type, "TYPE" ) == 0 ||
+ strcmp( type, "Type" ) == 0 )
type = vObjectStringZValue( o );