Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Spacing clear up
[xestiacalendar/.git] / source / forms / eventeditor / frmEventEditor.cpp
index 59a747a..ad9b184 100644 (file)
@@ -225,19 +225,19 @@ bool frmEventEditor::SaveContact(){
        // Set the data into the calendar event object.
                
        eventData.summaryData = txtEventName->GetValue().ToStdString();
-    
-    if (eventData.descriptionList.size() > 0)
-    {
-        eventData.descriptionList[0] = txtEventDescription->GetValue().ToStdString();
-    }
-    else
-    {
-        eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
-        eventData.descriptionListAltRep.push_back("");
-        eventData.descriptionListLanguage.push_back("");
-        eventData.descriptionListTokens.push_back("");
-    }
-    
+
+       if (eventData.descriptionList.size() > 0)
+       {
+               eventData.descriptionList[0] = txtEventDescription->GetValue().ToStdString();
+       }
+       else
+       {
+               eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
+               eventData.descriptionListAltRep.push_back("");
+               eventData.descriptionListLanguage.push_back("");
+               eventData.descriptionListTokens.push_back("");
+       }
+
        eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
        eventData.descriptionListAltRep.push_back("");
        eventData.descriptionListLanguage.push_back("");
@@ -310,7 +310,7 @@ bool frmEventEditor::SaveContact(){
                
                EventProperties *eventInfo = new EventProperties;
                eventInfo->eventName = txtEventName->GetValue().ToStdString();
-        eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+               eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
                eventInfo->calendarID = calendarIDList[cmbCalendar->GetSelection()];
                eventInfo->eventID = addEventResult.calendarEntryID;
                eventInfo->eventYear = dapStartDate->GetValue().GetYear();
@@ -358,7 +358,7 @@ bool frmEventEditor::SaveContact(){
                
                EventProperties *eventInfo = new EventProperties;
                eventInfo->eventName = txtEventName->GetValue().ToStdString();
-        eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+               eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
                eventInfo->calendarID = calendarID;
                eventInfo->eventID = eventID;
                eventInfo->eventYear = dapStartDate->GetValue().GetYear();
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