From: Steve Brokenshire Date: Wed, 3 Feb 2016 19:57:39 +0000 (+0000) Subject: Getting the right amount of characters to check for TZID in CalendarTimezoneObject X-Git-Tag: release-0.02~397 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;ds=inline;h=819de460444d319d565734b734526c44f25feea0;p=xestiacalendar%2F.git Getting the right amount of characters to check for TZID in CalendarTimezoneObject --- 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){