Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added code to process CLASS in CalendarTaskObject.
[xestiacalendar/.git]
/
source
/
objects
/
calendarobject
/
CalendarObject.cpp
diff --git
a/source/objects/calendarobject/CalendarObject.cpp
b/source/objects/calendarobject/CalendarObject.cpp
index
ab21f14
..
f5fc97e
100644
(file)
--- a/
source/objects/calendarobject/CalendarObject.cpp
+++ b/
source/objects/calendarobject/CalendarObject.cpp
@@
-98,8
+98,8
@@
CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData)
// the lists.
if (ColonFound == true){
// the lists.
if (ColonFound == true){
- ObjectName.
insert(ObjectName.end(),
PropertyName);
- ObjectData.
insert(ObjectData.end(),
PropertyValue);
+ ObjectName.
push_back(
PropertyName);
+ ObjectData.
push_back(
PropertyValue);
}
ColonFound = false;
}
ColonFound = false;
@@
-123,7
+123,13
@@
CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData)
// Character is the colon. Set the colon
// found boolen to true.
// 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 {
} else {
@@
-151,8
+157,8
@@
CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData)
PropertyName.size() > 0 &&
PropertyValue.size() > 0){
PropertyName.size() > 0 &&
PropertyValue.size() > 0){
- ObjectName.
insert(ObjectName.end(),
PropertyName);
- ObjectData.
insert(ObjectData.end(),
PropertyValue);
+ ObjectName.
push_back(
PropertyName);
+ ObjectData.
push_back(
PropertyValue);
}
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy