Fixes spacing for "for", "while", "switch" and "if"

Also moved && and || to ends of lines instead of start.
Fixed misc vertical alignments and some { needed newlining.
This commit is contained in:
Matthew Parlane
2014-03-11 00:30:55 +13:00
parent 4591464486
commit 31cfc73a09
189 changed files with 1250 additions and 1159 deletions

View File

@ -38,7 +38,7 @@ WiiWAD::WiiWAD(const std::string& _rName)
if (pReader == nullptr || File::IsDirectory(_rName))
{
m_Valid = false;
if(pReader) delete pReader;
if (pReader) delete pReader;
return;
}
@ -131,7 +131,7 @@ bool WiiWAD::IsWiiWAD(const std::string& _rName)
if (Reader.Read32(0x00) == 0x20)
{
u32 WADTYpe = Reader.Read32(0x04);
switch(WADTYpe)
switch (WADTYpe)
{
case 0x49730000:
case 0x69620000: