From 819de460444d319d565734b734526c44f25feea0 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 3 Feb 2016 19:57:39 +0000 Subject: [PATCH] Getting the right amount of characters to check for TZID in CalendarTimezoneObject --- source/objects/calendartimezone/CalendarTimezone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/objects/calendartimezone/CalendarTimezone.cpp b/source/objects/calendartimezone/CalendarTimezone.cpp index cf25c18..695781f 100644 --- a/source/objects/calendartimezone/CalendarTimezone.cpp +++ b/source/objects/calendartimezone/CalendarTimezone.cpp @@ -46,7 +46,7 @@ CalendarObjectValidResult CalendarTimezoneObject::ValidObject(){ iter != ObjectName.end(); iter++){ try{ - PropertyName = ObjectName[SeekCount].substr(0,7); + PropertyName = ObjectName[SeekCount].substr(0,4); } catch(const out_of_range& oor){ -- 2.39.2