An attempt to fix my coding style to match wiki page

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@858 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2008-10-14 05:19:31 +00:00
parent d84fa6195c
commit 6b4169e5b1
3 changed files with 74 additions and 70 deletions

View File

@ -234,7 +234,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
}
break;
case ID_CONVERTTOGCI:
{//Wont compile without brackets?? VC++ Express
{ // Wont compile without brackets?? VC++ Express
wxString temp = wxFileSelector(_T("Select the save file to convert"),
wxEmptyString, wxEmptyString, wxEmptyString,wxString::Format
(
@ -257,9 +257,9 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
const char * fileName2 = temp2.ToAscii();
int len = temp.length();
if(len>0)
if (len > 0)
{
memoryCard[0]->ImportGci(fileName,len,fileName2);
memoryCard[0]->ImportGci(fileName, len, fileName2);
}
}
break;
@ -280,9 +280,9 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
const char * fileName = temp.ToAscii();
int len = temp.length();
if(len>0)
if(len > 0)
{
memoryCard[0]->ImportGci(fileName,len,0);
memoryCard[0]->ImportGci(fileName, len, 0);
memoryCard[0]->Save();
ReloadMemcard(m_Memcard1Path->GetPath().mb_str(), 0);
}
@ -304,9 +304,9 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
wxFD_OPEN | wxFD_FILE_MUST_EXIST);
const char * fileName = temp.ToAscii();
int len = temp.length();
if(len>0)
if(len > 0)
{
memoryCard[1]->ImportGci(fileName,len,0);
memoryCard[1]->ImportGci(fileName, len, 0);
memoryCard[1]->Save();
ReloadMemcard(m_Memcard1Path->GetPath().mb_str(), 0);
}
@ -325,7 +325,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
const char * fileName = temp.ToAscii();
if (temp.length()>0)
if (temp.length() > 0)
memoryCard[0]->ExportGci(index0, fileName);
}
break;
@ -342,7 +342,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
const char * fileName = temp.ToAscii();
if (temp.length()>0)
if (temp.length() > 0)
memoryCard[1]->ExportGci(index1, fileName);
}
break;