Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Indented code properly contacteditor/frmContactEditor-Groups.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 13:57:38 +0000 (13:57 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 13:57:38 +0000 (13:57 +0000)
source/contacteditor/frmContactEditor-Groups.cpp

index ef56a7f..822c076 100644 (file)
 void frmContactEditor::AddGroup( wxCommandEvent& event )
 {
     
-    int intResult = 0;
+       int intResult = 0;
     
-    XABViewMode XVMData = MainPtr->GetViewMode();
+       XABViewMode XVMData = MainPtr->GetViewMode();
     
-    frmContactEditorGroup *frameCEGroup = new frmContactEditorGroup ( this );
-    frameCEGroup->SetEditorMode(FALSE, XVMData);
-    intResult = GetLastInt(&ContactEditorData.GroupsList);
-    frameCEGroup->SetupPointers(&ContactEditorData.GroupsList,
-                                lboGroups,
-                                wxSContactAccount,
-                                intValueSeek);
-    frameCEGroup->ShowModal();
-    delete frameCEGroup;
-    frameCEGroup = NULL;
+       frmContactEditorGroup *frameCEGroup = new frmContactEditorGroup ( this );
+       frameCEGroup->SetEditorMode(FALSE, XVMData);
+       intResult = GetLastInt(&ContactEditorData.GroupsList);
+       frameCEGroup->SetupPointers(&ContactEditorData.GroupsList,
+               lboGroups,
+               wxSContactAccount,
+               intValueSeek);
+       frameCEGroup->ShowModal();
+       delete frameCEGroup;
+       frameCEGroup = NULL;
     
 }
 
 void frmContactEditor::ModifyGroup( wxCommandEvent& event )
 {
     
-    return;
+       return;
     
 }
 
 void frmContactEditor::DeleteGroup( wxCommandEvent& event )
 {
     
-    long longSelected = -1;
-    int intSelectedData = 0;
+       long longSelected = -1;
+       int intSelectedData = 0;
     
-    if (!GetSelectedItem(lboGroups,
-                         &longSelected,
-                         &intSelectedData)){
-        return;
-    }
+       if (!GetSelectedItem(lboGroups,
+               &longSelected,
+               &intSelectedData)){
+               return;
+       }
     
-    lboGroups->DeleteItem(longSelected);
-    
-    DeleteMapData(intSelectedData, &ContactEditorData.GroupsList);
+       lboGroups->DeleteItem(longSelected);
     
+       DeleteMapData(intSelectedData, &ContactEditorData.GroupsList);
+       
 }
\ No newline at end of file
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