Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Run ProcessData after loading the data in LoadString.
[xestiacalendar/.git] / source / objects / calendarobject / CalendarObject.cpp
index 6ed8acd..01d939d 100644 (file)
@@ -155,6 +155,8 @@ CalendarObjectLoadResult CalendarObject::LoadString(std::string *LoadStringData)
                
        }
        
+       ProcessData();
+       
        return StringProcResult;
        
 }
@@ -182,7 +184,15 @@ CalendarObjectValidResult CalendarObject::ValidBaseObject(){
                        }
                                
                }
-                       
+               
+               if (ObjectName[SeekCount] == "END" &&
+                       ObjectData[SeekCount] == "VCALENDAR" &&
+                       ValidBegin == false){
+               
+                       return CALENDAROBJECTVALID_INVALIDFORMAT;
+                               
+               }
+               
                SeekCount++;
                        
        }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy