From f7013e571b7f6e10351cea706c7e81f49fce0b49 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 13:57:38 +0000 Subject: [PATCH] Indented code properly contacteditor/frmContactEditor-Groups.cpp --- .../contacteditor/frmContactEditor-Groups.cpp | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/source/contacteditor/frmContactEditor-Groups.cpp b/source/contacteditor/frmContactEditor-Groups.cpp index ef56a7f..822c076 100644 --- a/source/contacteditor/frmContactEditor-Groups.cpp +++ b/source/contacteditor/frmContactEditor-Groups.cpp @@ -23,44 +23,44 @@ 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 -- 2.39.5