From: Steve Brokenshire Date: Sun, 24 Jan 2016 10:21:13 +0000 (+0000) Subject: If more colons are found after the first, add to the property value. X-Git-Tag: release-0.02~691 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;ds=sidebyside;h=903ba10af41804e3f0737a39b5a63b28e9de3d69;hp=316fac98668b1a2a371b406944a3bbdb2fc353b8;p=xestiacalendar%2F.git If more colons are found after the first, add to the property value. --- diff --git a/source/objects/calendarobject/CalendarObject.cpp b/source/objects/calendarobject/CalendarObject.cpp index ab21f14..e094bc2 100644 --- a/source/objects/calendarobject/CalendarObject.cpp +++ b/source/objects/calendarobject/CalendarObject.cpp @@ -123,7 +123,13 @@ CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData) // Character is the colon. Set the colon // found boolen to true. - ColonFound = true; + BufferChar = (*LoadStringData)[SeekCount]; + + if (ColonFound == true){ + PropertyValue += BufferChar; + } else { + ColonFound = true; + } } else {